]> git.r.bdr.sh - rbdr/dotfiles/blame - atom/packages/vim-mode/keymaps/vim-mode.cson
Cleans and fixes for mappings
[rbdr/dotfiles] / atom / packages / vim-mode / keymaps / vim-mode.cson
CommitLineData
24c7594d 1'atom-text-editor.vim-mode':
455f099b
BB
2 'escape': 'vim-mode:reset-normal-mode'
3 'ctrl-c': 'vim-mode:reset-normal-mode'
4 'ctrl-[': 'vim-mode:reset-normal-mode'
24c7594d 5
455f099b
BB
6'atom-text-editor.vim-mode:not(.normal-mode)':
7 'escape': 'vim-mode:activate-normal-mode'
8 'ctrl-[': 'vim-mode:activate-normal-mode'
24c7594d 9
455f099b
BB
10'.platform-darwin atom-text-editor.vim-mode:not(.normal-mode)':
11 'ctrl-c': 'vim-mode:activate-normal-mode'
24c7594d
BB
12
13'atom-text-editor.vim-mode.insert-mode':
14 'ctrl-w': 'editor:delete-to-beginning-of-word'
15 'ctrl-u': 'editor:delete-to-beginning-of-line'
455f099b
BB
16 'ctrl-y': 'vim-mode:copy-from-line-above'
17 # disabled for compatibility with the common binding for going to the end of the line
18 # 'ctrl-e': 'vim-mode:copy-from-line-below'
19
20 'ctrl-r a': 'vim-mode:insert-mode-put'
21 'ctrl-r b': 'vim-mode:insert-mode-put'
22 'ctrl-r c': 'vim-mode:insert-mode-put'
23 'ctrl-r d': 'vim-mode:insert-mode-put'
24 'ctrl-r e': 'vim-mode:insert-mode-put'
25 'ctrl-r f': 'vim-mode:insert-mode-put'
26 'ctrl-r g': 'vim-mode:insert-mode-put'
27 'ctrl-r h': 'vim-mode:insert-mode-put'
28 'ctrl-r i': 'vim-mode:insert-mode-put'
29 'ctrl-r j': 'vim-mode:insert-mode-put'
30 'ctrl-r k': 'vim-mode:insert-mode-put'
31 'ctrl-r l': 'vim-mode:insert-mode-put'
32 'ctrl-r m': 'vim-mode:insert-mode-put'
33 'ctrl-r n': 'vim-mode:insert-mode-put'
34 'ctrl-r o': 'vim-mode:insert-mode-put'
35 'ctrl-r p': 'vim-mode:insert-mode-put'
36 'ctrl-r q': 'vim-mode:insert-mode-put'
37 'ctrl-r r': 'vim-mode:insert-mode-put'
38 'ctrl-r s': 'vim-mode:insert-mode-put'
39 'ctrl-r t': 'vim-mode:insert-mode-put'
40 'ctrl-r u': 'vim-mode:insert-mode-put'
41 'ctrl-r v': 'vim-mode:insert-mode-put'
42 'ctrl-r w': 'vim-mode:insert-mode-put'
43 'ctrl-r x': 'vim-mode:insert-mode-put'
44 'ctrl-r y': 'vim-mode:insert-mode-put'
45 'ctrl-r z': 'vim-mode:insert-mode-put'
46 'ctrl-r A': 'vim-mode:insert-mode-put'
47 'ctrl-r B': 'vim-mode:insert-mode-put'
48 'ctrl-r C': 'vim-mode:insert-mode-put'
49 'ctrl-r D': 'vim-mode:insert-mode-put'
50 'ctrl-r E': 'vim-mode:insert-mode-put'
51 'ctrl-r F': 'vim-mode:insert-mode-put'
52 'ctrl-r G': 'vim-mode:insert-mode-put'
53 'ctrl-r H': 'vim-mode:insert-mode-put'
54 'ctrl-r I': 'vim-mode:insert-mode-put'
55 'ctrl-r J': 'vim-mode:insert-mode-put'
56 'ctrl-r K': 'vim-mode:insert-mode-put'
57 'ctrl-r L': 'vim-mode:insert-mode-put'
58 'ctrl-r M': 'vim-mode:insert-mode-put'
59 'ctrl-r N': 'vim-mode:insert-mode-put'
60 'ctrl-r O': 'vim-mode:insert-mode-put'
61 'ctrl-r P': 'vim-mode:insert-mode-put'
62 'ctrl-r Q': 'vim-mode:insert-mode-put'
63 'ctrl-r R': 'vim-mode:insert-mode-put'
64 'ctrl-r S': 'vim-mode:insert-mode-put'
65 'ctrl-r T': 'vim-mode:insert-mode-put'
66 'ctrl-r U': 'vim-mode:insert-mode-put'
67 'ctrl-r V': 'vim-mode:insert-mode-put'
68 'ctrl-r W': 'vim-mode:insert-mode-put'
69 'ctrl-r X': 'vim-mode:insert-mode-put'
70 'ctrl-r Y': 'vim-mode:insert-mode-put'
71 'ctrl-r Z': 'vim-mode:insert-mode-put'
72 'ctrl-r *': 'vim-mode:insert-mode-put'
73 'ctrl-r +': 'vim-mode:insert-mode-put'
74 'ctrl-r %': 'vim-mode:insert-mode-put'
75 'ctrl-r _': 'vim-mode:insert-mode-put'
76 'ctrl-r "': 'vim-mode:insert-mode-put'
77 'ctrl-r escape': 'abort!'
78
79'atom-text-editor.vim-mode.replace-mode':
80 'backspace': 'vim-mode:replace-mode-backspace'
24c7594d
BB
81
82'atom-text-editor.vim-mode:not(.insert-mode)':
83 'h': 'vim-mode:move-left'
84 'left': 'vim-mode:move-left'
85 'backspace': 'core:move-left'
86 'l': 'vim-mode:move-right'
87 'space': 'vim-mode:move-right'
88 'right': 'vim-mode:move-right'
89 'k': 'vim-mode:move-up'
90 'up': 'vim-mode:move-up'
91 'j': 'vim-mode:move-down'
92 'down': 'vim-mode:move-down'
93
94 'w': 'vim-mode:move-to-next-word'
95 'W': 'vim-mode:move-to-next-whole-word'
96 'e': 'vim-mode:move-to-end-of-word'
97 'E': 'vim-mode:move-to-end-of-whole-word'
98 'b': 'vim-mode:move-to-previous-word'
99 'B': 'vim-mode:move-to-previous-whole-word'
100 '}': 'vim-mode:move-to-next-paragraph'
101 '{': 'vim-mode:move-to-previous-paragraph'
102 '0': 'vim-mode:move-to-beginning-of-line'
103 '^': 'vim-mode:move-to-first-character-of-line'
104 '_': 'vim-mode:move-to-first-character-of-line-and-down'
105 '$': 'vim-mode:move-to-last-character-of-line'
106 'g _': 'vim-mode:move-to-last-nonblank-character-of-line-and-down'
107 '-': 'vim-mode:move-to-first-character-of-line-up'
108 '+': 'vim-mode:move-to-first-character-of-line-down'
109 'enter': 'vim-mode:move-to-first-character-of-line-down'
110 'g g': 'vim-mode:move-to-start-of-file'
111 'ctrl-u': 'vim-mode:scroll-half-screen-up'
112 'ctrl-b': 'vim-mode:scroll-full-screen-up'
113 'ctrl-d': 'vim-mode:scroll-half-screen-down'
114 'ctrl-f': 'vim-mode:scroll-full-screen-down'
115 'ctrl-e': 'vim-mode:scroll-down'
116 'ctrl-y': 'vim-mode:scroll-up'
117 'z enter': 'vim-mode:scroll-cursor-to-top'
118 'z t': 'vim-mode:scroll-cursor-to-top-leave'
119 'z .': 'vim-mode:scroll-cursor-to-middle'
120 'z z': 'vim-mode:scroll-cursor-to-middle-leave'
121 'z -': 'vim-mode:scroll-cursor-to-bottom'
122 'z b': 'vim-mode:scroll-cursor-to-bottom-leave'
455f099b
BB
123 'z s': 'vim-mode:scroll-cursor-to-left'
124 'z e': 'vim-mode:scroll-cursor-to-right'
24c7594d
BB
125 'z M': 'editor:fold-all'
126 'z R': 'editor:unfold-all'
127 'z c': 'editor:fold-current-row'
128 'z o': 'editor:unfold-current-row'
129 'G': 'vim-mode:move-to-line'
130 'H': 'vim-mode:move-to-top-of-screen'
131 'L': 'vim-mode:move-to-bottom-of-screen'
132 'M': 'vim-mode:move-to-middle-of-screen'
133
134 'd': 'vim-mode:delete'
135 'D': 'vim-mode:delete-to-last-character-of-line'
136 'c': 'vim-mode:change'
137 'C': 'vim-mode:change-to-last-character-of-line'
138 'S': 'vim-mode:substitute-line'
139 'r': 'vim-mode:replace'
140 'I': 'vim-mode:insert-at-beginning-of-line'
141 '>': 'vim-mode:indent'
142 '<': 'vim-mode:outdent'
143 '=': 'vim-mode:auto-indent'
144 'J': 'vim-mode:join'
145
146 'y': 'vim-mode:yank'
147 'Y': 'vim-mode:yank-line'
148 'P': 'vim-mode:put-before'
149 'p': 'vim-mode:put-after'
150
151 'g ~': 'vim-mode:toggle-case'
152 'g U': 'vim-mode:upper-case'
153 'g u': 'vim-mode:lower-case'
154 '~': 'vim-mode:toggle-case-now'
155
156 'ctrl-w ctrl-h': 'window:focus-pane-on-left'
157 'ctrl-w h': 'window:focus-pane-on-left'
158 'ctrl-w left': 'window:focus-pane-on-left'
159 'ctrl-w ctrl-l': 'window:focus-pane-on-right'
160 'ctrl-w l': 'window:focus-pane-on-right'
161 'ctrl-w right': 'window:focus-pane-on-right'
162 'ctrl-w ctrl-k': 'window:focus-pane-above'
163 'ctrl-w k': 'window:focus-pane-above'
164 'ctrl-w up': 'window:focus-pane-above'
165 'ctrl-w ctrl-j': 'window:focus-pane-below'
166 'ctrl-w j': 'window:focus-pane-below'
167 'ctrl-w down': 'window:focus-pane-below'
168 'ctrl-w ctrl-w': 'window:focus-next-pane'
169 'ctrl-w w': 'window:focus-next-pane'
170 'ctrl-w ctrl-p': 'window:focus-previous-pane'
171 'ctrl-w p': 'window:focus-previous-pane'
172 'ctrl-w ctrl-v': 'pane:split-right'
173 'ctrl-w v': 'pane:split-right'
174 'ctrl-w ctrl-s': 'pane:split-down'
175 'ctrl-w s': 'pane:split-down'
176 'ctrl-w ctrl-c': 'pane:close'
177 'ctrl-w c': 'pane:close'
178 'ctrl-w ctrl-q': 'core:close'
179 'ctrl-w q': 'core:close'
180 'g t': 'pane:show-next-item'
181 'g T': 'pane:show-previous-item'
182
183 'm': 'vim-mode:mark'
184 '`': 'vim-mode:move-to-mark-literal'
185 '\'': 'vim-mode:move-to-mark'
186
187 'f': 'vim-mode:find'
188 'F': 'vim-mode:find-backwards'
189 't': 'vim-mode:till'
190 'T': 'vim-mode:till-backwards'
191 ';': 'vim-mode:repeat-find'
192 ',': 'vim-mode:repeat-find-reverse'
193
194 '/': 'vim-mode:search'
195 '?': 'vim-mode:reverse-search'
196 '*': 'vim-mode:search-current-word'
197 '#': 'vim-mode:reverse-search-current-word'
198 'n': 'vim-mode:repeat-search'
199 'N': 'vim-mode:repeat-search-backwards'
200
201 '%': 'vim-mode:bracket-matching-motion'
202
203 '1': 'vim-mode:repeat-prefix'
204 '2': 'vim-mode:repeat-prefix'
205 '3': 'vim-mode:repeat-prefix'
206 '4': 'vim-mode:repeat-prefix'
207 '5': 'vim-mode:repeat-prefix'
208 '6': 'vim-mode:repeat-prefix'
209 '7': 'vim-mode:repeat-prefix'
210 '8': 'vim-mode:repeat-prefix'
211 '9': 'vim-mode:repeat-prefix'
212
455f099b 213'atom-text-editor.vim-mode.normal-mode':
24c7594d 214 'i': 'vim-mode:activate-insert-mode'
455f099b 215 'R': 'vim-mode:activate-replace-mode'
24c7594d
BB
216 'v': 'vim-mode:activate-characterwise-visual-mode'
217 'V': 'vim-mode:activate-linewise-visual-mode'
218 'ctrl-v': 'vim-mode:activate-blockwise-visual-mode'
219
220 'u': 'vim-mode:undo'
221 'ctrl-r': 'core:redo'
222
223 'O': 'vim-mode:insert-above-with-newline'
224 'o': 'vim-mode:insert-below-with-newline'
225 'a': 'vim-mode:insert-after'
226 'A': 'vim-mode:insert-after-end-of-line'
227 'x': 'vim-mode:delete-right'
228 'X': 'vim-mode:delete-left'
229 's': 'vim-mode:substitute'
230 '.': 'vim-mode:repeat'
231
232 'ctrl-]': 'symbols-view:go-to-declaration'
455f099b 233 'ctrl-t': 'symbols-view:return-from-declaration'
24c7594d
BB
234
235 'ctrl-a': 'vim-mode:increase'
236 'ctrl-x': 'vim-mode:decrease'
237
238 '" a': 'vim-mode:register-prefix'
239 '" b': 'vim-mode:register-prefix'
240 '" c': 'vim-mode:register-prefix'
241 '" d': 'vim-mode:register-prefix'
242 '" e': 'vim-mode:register-prefix'
243 '" f': 'vim-mode:register-prefix'
244 '" g': 'vim-mode:register-prefix'
245 '" h': 'vim-mode:register-prefix'
246 '" i': 'vim-mode:register-prefix'
247 '" j': 'vim-mode:register-prefix'
248 '" k': 'vim-mode:register-prefix'
249 '" l': 'vim-mode:register-prefix'
250 '" m': 'vim-mode:register-prefix'
251 '" n': 'vim-mode:register-prefix'
252 '" o': 'vim-mode:register-prefix'
253 '" p': 'vim-mode:register-prefix'
254 '" q': 'vim-mode:register-prefix'
255 '" r': 'vim-mode:register-prefix'
256 '" s': 'vim-mode:register-prefix'
257 '" t': 'vim-mode:register-prefix'
258 '" u': 'vim-mode:register-prefix'
259 '" v': 'vim-mode:register-prefix'
260 '" w': 'vim-mode:register-prefix'
261 '" x': 'vim-mode:register-prefix'
262 '" y': 'vim-mode:register-prefix'
263 '" z': 'vim-mode:register-prefix'
264 '" A': 'vim-mode:register-prefix'
265 '" B': 'vim-mode:register-prefix'
266 '" C': 'vim-mode:register-prefix'
267 '" D': 'vim-mode:register-prefix'
268 '" E': 'vim-mode:register-prefix'
269 '" F': 'vim-mode:register-prefix'
270 '" G': 'vim-mode:register-prefix'
271 '" H': 'vim-mode:register-prefix'
272 '" I': 'vim-mode:register-prefix'
273 '" J': 'vim-mode:register-prefix'
274 '" K': 'vim-mode:register-prefix'
275 '" L': 'vim-mode:register-prefix'
276 '" M': 'vim-mode:register-prefix'
277 '" N': 'vim-mode:register-prefix'
278 '" O': 'vim-mode:register-prefix'
279 '" P': 'vim-mode:register-prefix'
280 '" Q': 'vim-mode:register-prefix'
281 '" R': 'vim-mode:register-prefix'
282 '" S': 'vim-mode:register-prefix'
283 '" T': 'vim-mode:register-prefix'
284 '" U': 'vim-mode:register-prefix'
285 '" V': 'vim-mode:register-prefix'
286 '" W': 'vim-mode:register-prefix'
287 '" X': 'vim-mode:register-prefix'
288 '" Y': 'vim-mode:register-prefix'
289 '" Z': 'vim-mode:register-prefix'
290 '" *': 'vim-mode:register-prefix'
291 '" +': 'vim-mode:register-prefix'
292 '" %': 'vim-mode:register-prefix'
293 '" _': 'vim-mode:register-prefix'
294
295'atom-text-editor.vim-mode.operator-pending-mode, atom-text-editor.vim-mode.visual-mode':
296 'i w': 'vim-mode:select-inside-word'
455f099b 297 'i W': 'vim-mode:select-inside-whole-word'
24c7594d
BB
298 'i "': 'vim-mode:select-inside-double-quotes'
299 'i \'': 'vim-mode:select-inside-single-quotes'
300 'i `': 'vim-mode:select-inside-back-ticks'
301 'i {': 'vim-mode:select-inside-curly-brackets'
302 'i }': 'vim-mode:select-inside-curly-brackets'
303 'i B': 'vim-mode:select-inside-curly-brackets'
304 'i <': 'vim-mode:select-inside-angle-brackets'
305 'i >': 'vim-mode:select-inside-angle-brackets'
306 'i t': 'vim-mode:select-inside-tags'
307 'i [': 'vim-mode:select-inside-square-brackets'
308 'i ]': 'vim-mode:select-inside-square-brackets'
309 'i (': 'vim-mode:select-inside-parentheses'
310 'i )': 'vim-mode:select-inside-parentheses'
311 'i b': 'vim-mode:select-inside-parentheses'
312 'i p': 'vim-mode:select-inside-paragraph'
313 'a w': 'vim-mode:select-a-word'
455f099b 314 'a W': 'vim-mode:select-a-whole-word'
24c7594d
BB
315 'a "': 'vim-mode:select-around-double-quotes'
316 'a \'': 'vim-mode:select-around-single-quotes'
317 'a `': 'vim-mode:select-around-back-ticks'
318 'a {': 'vim-mode:select-around-curly-brackets'
319 'a }': 'vim-mode:select-around-curly-brackets'
320 'a B': 'vim-mode:select-around-curly-brackets'
321 'a <': 'vim-mode:select-around-angle-brackets'
322 'a >': 'vim-mode:select-around-angle-brackets'
323 'a [': 'vim-mode:select-around-square-brackets'
324 'a ]': 'vim-mode:select-around-square-brackets'
325 'a (': 'vim-mode:select-around-parentheses'
326 'a )': 'vim-mode:select-around-parentheses'
327 'a b': 'vim-mode:select-around-parentheses'
328 'a p': 'vim-mode:select-around-paragraph'
455f099b 329 'x': 'vim-mode:reset-normal-mode'
24c7594d
BB
330
331'atom-text-editor.vim-mode.visual-mode':
332 'x': 'vim-mode:delete'
333 's': 'vim-mode:change'
334 'o': 'vim-mode:reverse-selections'
335 'U': 'vim-mode:upper-case'
336 'u': 'vim-mode:lower-case'
337
338 'v': 'vim-mode:activate-characterwise-visual-mode'
339 'V': 'vim-mode:activate-linewise-visual-mode'
340 'ctrl-v': 'vim-mode:activate-blockwise-visual-mode'
341
342 '" a': 'vim-mode:register-prefix'
343 '" b': 'vim-mode:register-prefix'
344 '" c': 'vim-mode:register-prefix'
345 '" d': 'vim-mode:register-prefix'
346 '" e': 'vim-mode:register-prefix'
347 '" f': 'vim-mode:register-prefix'
348 '" g': 'vim-mode:register-prefix'
349 '" h': 'vim-mode:register-prefix'
350 '" i': 'vim-mode:register-prefix'
351 '" j': 'vim-mode:register-prefix'
352 '" k': 'vim-mode:register-prefix'
353 '" l': 'vim-mode:register-prefix'
354 '" m': 'vim-mode:register-prefix'
355 '" n': 'vim-mode:register-prefix'
356 '" o': 'vim-mode:register-prefix'
357 '" p': 'vim-mode:register-prefix'
358 '" q': 'vim-mode:register-prefix'
359 '" r': 'vim-mode:register-prefix'
360 '" s': 'vim-mode:register-prefix'
361 '" t': 'vim-mode:register-prefix'
362 '" u': 'vim-mode:register-prefix'
363 '" v': 'vim-mode:register-prefix'
364 '" w': 'vim-mode:register-prefix'
365 '" x': 'vim-mode:register-prefix'
366 '" y': 'vim-mode:register-prefix'
367 '" z': 'vim-mode:register-prefix'
368 '" A': 'vim-mode:register-prefix'
369 '" B': 'vim-mode:register-prefix'
370 '" C': 'vim-mode:register-prefix'
371 '" D': 'vim-mode:register-prefix'
372 '" E': 'vim-mode:register-prefix'
373 '" F': 'vim-mode:register-prefix'
374 '" G': 'vim-mode:register-prefix'
375 '" H': 'vim-mode:register-prefix'
376 '" I': 'vim-mode:register-prefix'
377 '" J': 'vim-mode:register-prefix'
378 '" K': 'vim-mode:register-prefix'
379 '" L': 'vim-mode:register-prefix'
380 '" M': 'vim-mode:register-prefix'
381 '" N': 'vim-mode:register-prefix'
382 '" O': 'vim-mode:register-prefix'
383 '" P': 'vim-mode:register-prefix'
384 '" Q': 'vim-mode:register-prefix'
385 '" R': 'vim-mode:register-prefix'
386 '" S': 'vim-mode:register-prefix'
387 '" T': 'vim-mode:register-prefix'
388 '" U': 'vim-mode:register-prefix'
389 '" V': 'vim-mode:register-prefix'
390 '" W': 'vim-mode:register-prefix'
391 '" X': 'vim-mode:register-prefix'
392 '" Y': 'vim-mode:register-prefix'
393 '" Z': 'vim-mode:register-prefix'
394 '" *': 'vim-mode:register-prefix'
395 '" +': 'vim-mode:register-prefix'
396 '" %': 'vim-mode:register-prefix'
397 '" _': 'vim-mode:register-prefix'