-
Notifications
You must be signed in to change notification settings - Fork 76
/
Default (OSX).sublime-keymap
120 lines (112 loc) · 4.94 KB
/
Default (OSX).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
113
114
115
116
117
118
119
120
[
{ "keys": ["ctrl+c"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false },
{ "key": "setting.vintage_ctrl_keys" }
]
},
{ "keys": ["ctrl+c"], "command": "exit_visual_mode",
"context":
[
{ "key": "setting.command_mode"},
{ "key": "num_selections", "operand": 1},
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": false },
{ "key": "setting.vintage_ctrl_keys" }
]
},
{ "keys": ["ctrl+c"], "command": "vi_cancel_current_action",
"context":
[
{ "key": "setting.command_mode" },
{ "key": "vi_has_input_state" },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": false },
{ "key": "setting.vintage_ctrl_keys" }
]
},
{ "keys": ["left"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["right"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": true, "extend": true, "visual": false }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["up"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["down"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["alt+left"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "punct_begin": true, "empty_line": true, "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["alt+right"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "punct_begin": true, "empty_line": true, "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["ctrl+left"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "sub_word_begin": true, "punct_begin": true, "empty_line": true, "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["ctrl+right"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "sub_word_begin": true, "punct_begin": true, "empty_line": true, "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["pageup"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "pages", "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}, {"key": "setting.vintage_ctrl_keys"}]
},
{ "keys": ["pagedown"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "pages", "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}, {"key": "setting.vintage_ctrl_keys"}]
},
{ "keys": ["super+left"], "command": "set_motion", "args": {
"motion": "vi_move_to_first_non_white_space_character",
"motion_args": {"extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["home"], "command": "set_motion", "args": {
"motion": "vi_move_to_first_non_white_space_character",
"motion_args": {"extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["super+right"], "command": "set_motion", "args": {
"motion": "vi_move_to_hard_eol",
"motion_args": {"repeat": 1, "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["end"], "command": "set_motion", "args": {
"motion": "vi_move_to_hard_eol",
"motion_args": {"repeat": 1, "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["super+up"], "command": "set_motion", "args": {
"motion": "move_to",
"motion_args": {"to": "bof", "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["super+down"], "command": "set_motion", "args": {
"motion": "move_to",
"motion_args": {"to": "eof", "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
}
]