-
Notifications
You must be signed in to change notification settings - Fork 0
/
keymap.cson
72 lines (63 loc) · 2.58 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
66
67
68
69
70
71
72
# 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/#configuring-with-cson
'.platform-linux atom-text-editor:not([mini])':
'ctrl-d': 'kite:docs-at-cursor'
'.platform-linux atom-workspace, .platform-win32 atom-workspace':
'shift-alt-f': 'terminus:focus'
'f4': 'terminus:insert-custom-text-1'
'f5': 'terminus:insert-custom-text-2'
'body':
'alt-shift-e': 'window:focus-previous-pane'
'alt-shift-a': 'window:focus-next-pane'
'atom-workspace':
'alt-shift-d': 'cursor-history:next-within-editor'
'alt-shift-q': 'cursor-history:prev-within-editor'
'ctrl-down' : 'pdf-view:go-to-next-page'
'ctrl-up' : 'pdf-view:go-to-previous-page'
'atom-text-editor':
'shift-alt-b': 'atom-beautify:beautify-editor'
'f2' : 'python-tools:goto-definition'
'ctrl-alt-e': 'python-tools:show-usages'
'': 'python-tools:select-all-string'
'atom-text-editor[data-grammar~="latex"]':
'f2': 'latex:sync'
'.editor':
'ctrl-e': 'editor:select-word'
'ctrl-up': 'editor:move-to-beginning-of-previous-paragraph'
'ctrl-down': 'editor:move-to-beginning-of-next-paragraph'
'alt-shift-up': 'editor:select-to-beginning-of-previous-paragraph'
'alt-shift-down': 'editor:select-to-beginning-of-next-paragraph'
'alt-down': 'editor:move-line-down'
'alt-up': 'editor:move-line-up'
'.find-and-replace, .project-find, .project-find .results-view':
'f4': 'find-and-replace:replace-next'