-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default (Linux).sublime-keymap
112 lines (89 loc) · 2.9 KB
/
Default (Linux).sublime-keymap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[
// -------- MOVEMENT
{ "keys": ["j"], "command": "tmov",
"args": {"args": "next onward", "new_mode": "Line"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
{ "keys": ["k"], "command": "tmov",
"args": {"args": "next backward", "new_mode": "Line"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
{ "keys": ["h"], "command": "tmov",
"args": {"args": "next backward", "new_mode": "Word"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
{ "keys": ["l"], "command": "tmov",
"args": {"args": "next onward", "new_mode": "Word"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
{ "keys": ["H"], "command": "tmov",
"args": {"args": "next backward", "new_mode": "Char"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
{ "keys": ["L"], "command": "tmov",
"args": {"args": "next onward", "new_mode": "Char"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
// ---------- EDIT
{ "keys": [" "], "command": "tmov",
"args": {"args": "new onward"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
{ "keys": ["b"], "command": "tmov",
"args": {"args": "new backward"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
{ "keys": ["a"], "command": "tmov",
"args": {"args": "add onward"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
{ "keys": ["i"], "command": "tmov",
"args": {"args": "add backward"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
// EFFECTS
{ "keys": ["f"], "command": "tmov",
"args": {"args": "fuse onward"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
{ "keys": ["F"], "command": "tmov",
"args": {"args": "fuse backward"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
{ "keys": ["d"], "command": "tmov",
"args": {"args": "delete"},
"context": [{"key": "setting.tmov_isMoveMode"}]
},
// -------------- DEV
{ "keys": ["f5"], "command": "toggle_tmov"
},
{ "keys": ["escape"], "command": "tmov",
"args": {"args": "exitEditMode"},
"context":
[
{ "key": "setting.tmov_isMoveMode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
}
// { "keys": ["h"], "command": "prev_word",
// "context": [{"key": "setting.command_mode"}]
// },
// { "keys": ["j"], "command": "next_line",
// "context": [{"key": "setting.command_mode"}]
// },
// { "keys": ["k"], "command": "prev_line",
// "context": [{"key": "setting.command_mode"}]
// },
// { "keys": [" "], "command": "erase_line",
// "context": [{"key": "setting.command_mode"}]
// },
// { "keys": ["~"], "command": "erase_word",
// "context": [{"key": "setting.command_mode"}]
// },
// { "keys": ["<"], "command": "linearize",
// "context": [{"key": "setting.command_mode"}]
// },
// { "keys": ["!"], "command": "foo",
// "context": [{"key": "setting.command_mode"}]
// }
]