-
Notifications
You must be signed in to change notification settings - Fork 1
/
Default.sublime-keymap
51 lines (44 loc) · 2.52 KB
/
Default.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
[
{"keys": ["i"], "command": "meow_insert_mode", "context": [{"key": "setting.command_mode"}]},
{"keys": ["a"], "command": "meow_insert_mode_append", "context": [{"key": "setting.command_mode"}]},
// character
{"keys": ["h"], "command": "move", "context": [{"key": "setting.command_mode"}],
"args": {"by": "characters", "forward": false}},
{"keys": ["t"], "command": "move", "context": [{"key": "setting.command_mode"}],
"args": {"by": "characters", "forward": true}},
{"keys": ["p"], "command": "move", "context": [{"key": "setting.command_mode"}],
"args": {"by": "lines", "forward": false}},
{"keys": ["n"], "command": "move", "context": [{"key": "setting.command_mode"}],
"args": {"by": "lines", "forward": true}},
{"keys": ["H"], "command": "move", "context": [{"key": "setting.command_mode"}],
"args": {"by": "characters", "forward": false, "extend": true}},
{"keys": ["T"], "command": "move", "context": [{"key": "setting.command_mode"}],
"args": {"by": "characters", "forward": true, "extend": true}},
{"keys": ["P"], "command": "move", "context": [{"key": "setting.command_mode"}],
"args": {"by": "lines", "forward": false, "extend": true}},
{"keys": ["N"], "command": "move", "context": [{"key": "setting.command_mode"}],
"args": {"by": "lines", "forward": true, "extend": true}},
// word
{"keys": ["w"], "command": "meow_next_word", "context": [{"key": "setting.command_mode"}]},
{"keys": ["b"], "command": "meow_prev_word", "context": [{"key": "setting.command_mode"}]},
// line
{"keys": ["e"], "command": "expand_selection", "context": [{"key": "setting.command_mode"}],
"args": {"to": "line"}},
// deletion
{"keys": ["d"], "command": "right_delete", "context": [{"key": "setting.command_mode"}]},
{"keys": ["k"], "command": "cut", "context": [{"key": "setting.command_mode"}]},
// copy & paste
{"keys": ["x"], "command": "copy", "context": [{"key": "setting.command_mode"}]},
{"keys": ["y"], "command": "paste", "context": [{"key": "setting.command_mode"}]},
// undo & redo
{"keys": ["u"], "command": "undo", "context": [{"key": "setting.command_mode"}]},
{"keys": ["U"], "command": "redo", "context": [{"key": "setting.command_mode"}]},
// escape
{"keys": ["escape"], "command": "meow_command_mode",
"context": [{"key": "setting.is_widget", "operator": "equal", "operand": false}]},
{"keys": ["escape"], "command": "single_selection",
"context": [
{"key": "num_selections", "operator": "not_equal", "operand": 1},
{"key": "setting.command_mode"}
]},
]