-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeymap.cson
65 lines (63 loc) · 2.63 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
59
60
61
62
63
64
65
# 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:
# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#_customizing_keybindings
# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/
#
# If you're having trouble with your keybindings not working, try the
# Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the
# Debugging Guide for more information:
# * http://flight-manual.atom.io/hacking-atom/sections/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:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson
'.platform-darwin atom-text-editor:not([mini])':
'alt-q': 'tree-view:toggle'
'cmd-\\': 'tree-view:toggle'
'cmd-k cmd-b': 'tree-view:toggle'
'cmd-|': 'tree-view:reveal-active-file'
'ctrl-0': 'tree-view:toggle-focus'
'.platform-darwin .tree-view':
'cmd-c': 'tree-view:copy'
'cmd-x': 'tree-view:cut'
'cmd-v': 'tree-view:paste'
'ctrl-f': 'tree-view:expand-item'
'ctrl-b': 'tree-view:collapse-directory'
'cmd-k l': 'tree-view:open-selected-entry-right'
'cmd-k left': 'tree-view:open-selected-entry-left'
'cmd-k h': 'tree-view:open-selected-entry-left'
'cmd-k up': 'tree-view:open-selected-entry-up'
'cmd-k k': 'tree-view:open-selected-entry-up'
'cmd-k down': 'tree-view:open-selected-entry-down'
'cmd-k j': 'tree-view:open-selected-entry-down'
'cmd-1': 'tree-view:open-selected-entry-in-pane-1'
'cmd-2': 'tree-view:open-selected-entry-in-pane-2'
'cmd-3': 'tree-view:open-selected-entry-in-pane-3'
'cmd-4': 'tree-view:open-selected-entry-in-pane-4'
'cmd-5': 'tree-view:open-selected-entry-in-pane-5'
'cmd-6': 'tree-view:open-selected-entry-in-pane-6'
'cmd-7': 'tree-view:open-selected-entry-in-pane-7'
'cmd-8': 'tree-view:open-selected-entry-in-pane-8'
'cmd-9': 'tree-view:open-selected-entry-in-pane-9'
'.platform-darwin atom-text-editor':
'atl-cmd-enter': 'goto-definition:go'
'ctrl-shift-W': 'editor:toggle-soft-wrap'