-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeymap.cson
More file actions
56 lines (51 loc) · 2 KB
/
Copy pathkeymap.cson
File metadata and controls
56 lines (51 loc) · 2 KB
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
# 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-workspace atom-text-editor:not([mini])':
'ctrl-3': 'editor:toggle-line-comments'
'ctrl-d': 'editor:delete-line'
'ctrl-shift-D': 'find-and-replace:select-next'
'ctrl-space ctrl-d': 'editor:duplicate-lines'
'ctrl-alt-[': 'unset!',
'ctrl-alt-]': 'unset!'
'atom-text-editor':
'ctrl-shift-f': 'atom-beautify:beautify-editor'
'atom-text-editor:not([mini])':
# docblockr keybindings
'tab': 'docblockr:parse-tab'
'enter': 'docblockr:parse-inline'
'shift-enter': 'docblockr:parse-enter'
'atom-text-editor.autocomplete-active':
'tab': 'autocomplete-plus:confirm'
'enter': 'autocomplete-plus:confirm'
# 'atom-text-editor[data-grammar~="html"]':
# '|': 'autoclose-html:close-and-complete'