Last active
August 29, 2015 14:14
-
-
Save high5/b15085703c3c9e19c325 to your computer and use it in GitHub Desktop.
windows atom editor's keymap.cson
This file contains 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 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: | |
# | |
# '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/customizing-atom#customizing-key-bindings | |
# * https://atom.io/docs/latest/advanced/keymaps | |
# | |
# This file uses CoffeeScript Object Notation (CSON). | |
# If you are unfamiliar with CSON, you can read more about it here: | |
# https://github.com/bevry/cson#what-is-cson | |
'atom-text-editor:not([mini])': | |
'ctrl-d': 'editor:delete-line' | |
'atom-workspace atom-text-editor:not([mini])': | |
'alt-up': 'editor:move-line-up' | |
'alt-down': 'editor:move-line-down' | |
'ctrl-p': 'editor:duplicate-lines' | |
'shift-enter': 'editor:newline-below' | |
'.platform-win32 atom-text-editor, .platform-linux atom-text-editor': | |
'ctrl-e': 'find-and-replace:select-next' | |
'.platform-win32': | |
'ctrl-shift-r': 'fuzzy-finder:toggle-file-finder' | |
'.platform-win32, .platform-linux': | |
'ctrl-h': 'project-find:show' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment