-
Notifications
You must be signed in to change notification settings - Fork 0
/
keymap.cson
50 lines (48 loc) · 1.8 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
# 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
'.platform-win32 .editor':
'ctrl-alt-.': 'unset!'
'ctrl-alt-[': 'unset!'
'alt-left': 'editor:move-to-first-character-of-line'
'alt-right': 'editor:move-to-end-of-line'
'atom-text-editor, atom-dock':
'cmd-i': 'tree-view:reveal-active-file'
'cmd-e': 'linter-eslint:fix-file'
'shift-cmd-1': 'github:toggle-git-tab'
'cmd-ctrl-shift-f': 'search-bar:focus'
'cmd-ctrl-shift-h': 'search-bar:hide'
'atom-text-editor.autocomplete-active':
'up': 'unset!'
'down': 'unset!'
'alt-up': 'autocomplete-plus:move-up'
'alt-down': 'autocomplete-plus:move-down'