-
Notifications
You must be signed in to change notification settings - Fork 4
/
keymap.cson
51 lines (48 loc) · 1.85 KB
/
keymap.cson
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
# Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
#
# 'atom-text-editor':
# 'enter': 'editor:newline'
#
# 'atom-workspace':
# 'ctrl-shift-p': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
# You can find more information about keymaps in these guides:
# * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings
# * https://atom.io/docs/latest/behind-atom-keymaps-in-depth
#
# If you're having trouble with your keybindings not working, try the
# Keybinding Resolver: `Cmd+.` on OS X and `Ctrl+.` on other platforms. See the
# Debugging Guide for more information:
# * https://atom.io/docs/latest/hacking-atom-debugging#check-the-keybindings
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
'atom-text-editor.vim-mode-plus.normal-mode':
'g c': 'vim-mode-plus:select-latest-change'
'cmd-enter': 'vim-mode-plus:maximize-pane'
'y s w': 'vim-mode-plus:surround-word'
'y m s': 'vim-mode-plus:map-surround'
'd s': 'vim-mode-plus:delete-surround-any-pair'
'c s': 'vim-mode-plus:change-surround-any-pair'
# EX MODE
':': 'vim-mode-plus-ex-mode:open'
'!': 'vim-mode-plus-ex-mode:toggle-setting'
# SURROUND
'atom-text-editor.vim-mode-plus.visual-mode':
'shift-S': 'vim-mode-plus:surround'
# CLIPBOARD PLUS
'atom-text-editor.vim-mode-plus:not(.insert-mode)':
'ctrl-p': 'clipboard-plus:toggle'