Created
November 15, 2017 02:30
-
-
Save goldsborough/5156d9cc4b1c5a14cf60d6033157d322 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
# | |
# 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-darwin atom-text-editor': | |
'cmd-b': 'script:run' | |
'cmd-i': 'editor:auto-indent' | |
'cmd-k cmd-c': 'atomic-emacs:capitalize-word-or-atom' | |
'alt-t': 'tabs:close-all-tabs' | |
'alt->': 'core:move-to-bottom' | |
'alt-<': 'core:move-to-top' | |
'ctrl-cmd-k': 'application:open-your-keymap' | |
'ctrl-cmd-s': 'application:open-your-snippets' | |
'cmd-k l': 'pane:split-right-and-move-active-item' | |
'cmd-k h': 'pane:split-left-and-move-active-item' | |
'cmd-k k': 'pane:split-up-and-move-active-item' | |
'cmd-k j': 'pane:split-down-and-move-active-item' | |
'cmd-m l': 'window:move-active-item-to-pane-on-right' | |
'cmd-m h': 'window:move-active-item-to-pane-on-left' | |
'cmd-m k': 'window:move-active-item-to-pane-above' | |
'cmd-m j': 'window:move-active-item-to-pane-below' | |
'cmd-k cmd-l': 'window:focus-pane-on-right' | |
'cmd-k cmd-h': 'window:focus-pane-on-left' | |
'cmd-k cmd-k': 'window:focus-pane-above' | |
'cmd-k cmd-j': 'window:focus-pane-below' | |
'cmd-d': 'editor:delete-line' | |
'cmd-shift-d': 'editor:duplicate-lines' | |
'alt-up': 'editor:move-line-up' | |
'alt-down': 'editor:move-line-down' | |
'alt-o': 'custom:open-line-below' | |
'alt-shift-o': 'custom:open-line-above' | |
'cmd-l': 'editor:lower-case' | |
'cmd-u': 'editor:upper-case' | |
'ctrl-s': 'sort-lines:sort' | |
'ctrl-cmd-a': 'find-and-replace:replace-all' | |
'ctrl-k ctrl-g': 'sort-lines:sort' | |
'ctrl-b': 'latex:build' | |
'cmd-h': 'find-and-replace:replace-next' | |
'shift-backspace': 'core:delete' | |
'cmd-shift-l': 'linter-ui-default:toggle-panel' | |
'cmd-shift-t': 'pane:reopen-closed-item' | |
'cmd-shift-k': 'atom-beautify:beautify-editor' | |
'.platform-darwin atom-text-editor[data-grammar~="c"]': | |
'cmd-b': 'cmake:all' | |
"region-workspace atom-text-editor:not([mini])[data-grammar~='gfm']": | |
"ctrl-enter": "markdown-writer:insert-new-line" | |
"ctrl-tab" : "markdown-writer:indent-list-line" | |
"atom-workspace": | |
"ctrl-alt-g": "golang:toggle-panel" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment