forked from jmacdonald/amp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.yml
284 lines (273 loc) · 7.77 KB
/
default.yml
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
normal:
up: cursor::move_up
down: cursor::move_down
left: cursor::move_left
right: cursor::move_right
j: cursor::move_down
k: cursor::move_up
h: cursor::move_left
l: cursor::move_right
q: buffer::close
F: buffer::close_others
J: cursor::move_to_last_line
K: cursor::move_to_first_line
H: cursor::move_to_start_of_line
L: cursor::move_to_end_of_line
b: cursor::move_to_start_of_previous_token
w: cursor::move_to_start_of_next_token
e: cursor::move_to_end_of_current_token
a: cursor::append_to_current_token
I: cursor::insert_at_first_word_of_line
A: cursor::insert_at_end_of_line
o: cursor::insert_with_newline
O: cursor::insert_with_newline_above
x: buffer::delete
d: buffer::delete_token
;: buffer::delete_current_line
D: buffer::delete_rest_of_line
C: buffer::change_rest_of_line
s: buffer::save
i: application::switch_to_insert_mode
f: application::switch_to_second_stage_jump_mode
v: application::switch_to_select_mode
V: application::switch_to_select_line_mode
g: application::switch_to_line_jump_mode
t: application::switch_to_theme_mode
u: buffer::undo
r: buffer::redo
p: buffer::paste
P: buffer::paste_above
n:
- application::switch_to_search_mode
- search::accept_query
N:
- application::switch_to_search_mode
- search::accept_query
- search::move_to_previous_result
m: view::scroll_down
M: buffer::merge_next_line
y: buffer::copy_current_line
c: buffer::change_token
R: git::copy_remote_url
z: application::suspend
Q: application::exit
B: workspace::new_buffer
E: application::display_last_error
"'": application::switch_to_jump_mode
"0": application::switch_to_command_mode
"#": application::switch_to_syntax_mode
/:
- application::switch_to_search_mode
- search::clear_query
",": view::scroll_up
">": buffer::indent_line
"<": buffer::outdent_line
"[": buffer::toggle_line_comment
"=": git::add
escape: view::scroll_cursor_to_center
page_up: view::scroll_up
page_down: view::scroll_down
space: application::switch_to_open_mode
tab: workspace::next_buffer
enter: application::switch_to_symbol_jump_mode
backspace:
- buffer::backspace
- application::switch_to_insert_mode
delete: buffer::delete
ctrl-a: selection::select_all
ctrl-r: buffer::reload
ctrl-z: application::suspend
ctrl-c: application::exit
"?": application::display_quick_start_guide
insert:
_: buffer::insert_char
enter: buffer::insert_newline
tab: buffer::insert_tab
backspace: buffer::backspace
up: cursor::move_up
down: cursor::move_down
left: cursor::move_left
right: cursor::move_right
home: cursor::move_to_start_of_line
end: cursor::move_to_end_of_line
page_up: view::scroll_up
page_down: view::scroll_down
escape: application::switch_to_normal_mode
delete: buffer::delete
ctrl-a: selection::select_all
ctrl-z: application::suspend
ctrl-c: application::exit
jump:
_: jump::push_search_char
escape: application::switch_to_normal_mode
ctrl-z: application::suspend
ctrl-c: application::exit
line_jump:
_: line_jump::push_search_char
enter: line_jump::accept_input
backspace: line_jump::pop_search_char
escape: application::switch_to_normal_mode
ctrl-z: application::suspend
ctrl-c: application::exit
search:
_:
- application::switch_to_normal_mode
- application::handle_input
escape: application::switch_to_normal_mode
enter: application::switch_to_symbol_jump_mode
space: application::switch_to_open_mode
backspace:
- selection::delete
- search::run
/:
- application::switch_to_search_mode
- search::clear_query
m: view::scroll_down
",": view::scroll_up
n: search::move_to_next_result
N: search::move_to_previous_result
c: selection::change
d:
- selection::copy_and_delete
- search::run
- view::scroll_to_cursor
delete:
- selection::copy_and_delete
- search::run
- view::scroll_to_cursor
p:
- buffer::paste
- search::run
- view::scroll_to_cursor
search_insert:
_: search::push_search_char
enter: search::accept_query
backspace: search::pop_search_char
escape: application::switch_to_normal_mode
ctrl-z: application::suspend
ctrl-c: application::exit
path:
_: path::push_char
enter: path::accept_path
backspace: path::pop_char
escape: application::switch_to_normal_mode
ctrl-z: application::suspend
ctrl-c: application::exit
search_select:
enter: search_select::accept
space: search_select::accept
backspace: search_select::pop_search_token
escape: application::switch_to_normal_mode
up: search_select::select_previous
down: search_select::select_next
i: search_select::enable_insert
j: search_select::select_next
k: search_select::select_previous
z: application::suspend
ctrl-z: application::suspend
ctrl-c: application::exit
search_select_insert:
_: search_select::push_search_char
enter: search_select::accept
backspace: search_select::pop_search_token
escape: search_select::step_back
down: search_select::select_next
up: search_select::select_previous
ctrl-j: search_select::select_next
ctrl-k: search_select::select_previous
ctrl-z: application::suspend
ctrl-c: application::exit
select:
up: cursor::move_up
down: cursor::move_down
left: cursor::move_left
right: cursor::move_right
j: cursor::move_down
k: cursor::move_up
h: cursor::move_left
l: cursor::move_right
J: cursor::move_to_last_line
K: cursor::move_to_first_line
H: cursor::move_to_start_of_line
L: cursor::move_to_end_of_line
b: cursor::move_to_start_of_previous_token
w: cursor::move_to_start_of_next_token
e: cursor::move_to_end_of_current_token
d:
- selection::copy_and_delete
- application::switch_to_normal_mode
- view::scroll_to_cursor
delete:
- selection::copy_and_delete
- application::switch_to_normal_mode
- view::scroll_to_cursor
c: selection::change
y: selection::copy
p:
- buffer::paste
- application::switch_to_normal_mode
R: git::copy_remote_url
m: view::scroll_down
f: application::switch_to_second_stage_jump_mode
z: selection::justify
"'": application::switch_to_jump_mode
",": view::scroll_up
page_up: view::scroll_up
page_down: view::scroll_down
escape: application::switch_to_normal_mode
ctrl-a: selection::select_all
ctrl-z: application::suspend
ctrl-c: application::exit
select_line:
up: cursor::move_up
down: cursor::move_down
left: cursor::move_left
right: cursor::move_right
j: cursor::move_down
k: cursor::move_up
h: cursor::move_left
l: cursor::move_right
J: cursor::move_to_last_line
K: cursor::move_to_first_line
H: cursor::move_to_start_of_line
L: cursor::move_to_end_of_line
b: cursor::move_to_start_of_previous_token
w: cursor::move_to_start_of_next_token
e: cursor::move_to_end_of_current_token
d:
- selection::copy_and_delete
- application::switch_to_normal_mode
- view::scroll_to_cursor
delete:
- selection::copy_and_delete
- application::switch_to_normal_mode
- view::scroll_to_cursor
;:
- selection::copy_and_delete
- application::switch_to_normal_mode
- view::scroll_to_cursor
c: selection::change
y: selection::copy
p:
- buffer::paste
- application::switch_to_normal_mode
R: git::copy_remote_url
m: view::scroll_down
f: application::switch_to_second_stage_jump_mode
z: selection::justify
",": view::scroll_up
">": buffer::indent_line
"<": buffer::outdent_line
"[": buffer::toggle_line_comment
page_up: view::scroll_up
page_down: view::scroll_down
escape: application::switch_to_normal_mode
ctrl-a: selection::select_all
ctrl-z: application::suspend
ctrl-c: application::exit
confirm:
n: application::switch_to_normal_mode
y: confirm::confirm_command
escape: application::switch_to_normal_mode
ctrl-z: application::suspend
ctrl-c: application::exit