-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeymap.cson
58 lines (47 loc) · 1.62 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
52
53
54
55
56
57
58
# Your keymap
#
# Atom keymaps work similarly to stylesheets. Just as stylesheets use selectors
# to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
# 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:
#
# '.editor':
# 'enter': 'editor:newline'
#
# '.workspace':
# 'ctrl-P': 'core:move-up'
# 'ctrl-p': 'core:move-down'
'.platform-darwin':
'cmd-o': 'fuzzy-finder:toggle-file-finder'
'.editor':
'cmd-alt-l': 'atom-beautify:beautify-editor'
'cmd-i': 'window:toggle-invisibles'
'cmd-l': 'editor:delete-line'
'atom-workspace atom-text-editor:not([mini])':
'cmd-}': 'pane:split-right-and-move-active-item'
'cmd-{': 'pane:split-letf-and-move-active-item'
'ctrl-l': 'pane:show-previous-item'
'ctrl-r': 'pane:show-next-item'
'cmd-[': 'window:focus-pane-on-left'
'cmd-]': 'window:focus-pane-on-right'
'atom-text-editor[data-grammar="source js jsx"]:not([mini])':
'cmd-e': 'emmet:expand-abbreviation-with-tab'
# enables hyperclick navigation
".platform-darwin atom-text-editor":
"f12": "hyperclick:confirm-cursor"
'atom-workspace':
'ctrl-[': 'last-cursor-position:previous'
'ctrl-]': 'last-cursor-position:next'
'atom-text-editor':
"alt-f": "prettier:format",
"cmd-shift-enter": "hey-pane:toggle-focus-of-active-pane"
'atom-text-editor:not([mini])':
'alt-shift-C': 'editor:copy-project-path'
# '.editor':
# 'cmd-i': 'window:toggle-invisibles'
#'atom-text-editor[data-grammar="source js jsx"]:not([mini])':
# 'tab': 'emmet:expand-abbreviation-with-tab'