Last active
May 13, 2016 14:27
-
-
Save fracarma/ed0b0e075b109538cdb54a1fd71bb61d to your computer and use it in GitHub Desktop.
Editor shortcuts
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
Show hidden characters
[ | |
{ "keys": ["ctrl+shift+9"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["ctrl+alt+shift+9"], "command": "toggle_comment", "args": { "block": true } }, | |
{ "keys": ["ctrl+alt+g"], "command": "git_status"}, | |
{ "keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar"}, | |
{ "keys": ["ctrl+shift++"], "command": "fold"}, | |
{ "keys": ["ctrl+shift+è"], "command": "unfold"} | |
] |
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 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 | |
'atom-workspace atom-text-editor:not([mini])': | |
'ctrl-shift-up': 'editor:move-line-up' | |
'ctrl-shift-down': 'editor:move-line-down' | |
'ctrl-alt-f': 'editor:auto-indent' | |
'ctrl-shift-9': 'editor:toggle-line-comments' | |
'ctrl-t': 'mavensmate:toggle-output' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment