72 lines
2.6 KiB
Plaintext
72 lines
2.6 KiB
Plaintext
# 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/#_cson
|
|
|
|
'atom-text-editor':
|
|
#'ctrl-w': 'editor:select-word'
|
|
'alt-shift-d': 'editor:split-selections-into-lines'
|
|
'alt-d': 'find-and-replace:select-next'
|
|
'ctrl-d': 'editor:duplicate-lines'
|
|
'ctrl-shift-D': 'editor:delete-line'
|
|
'ctrl-l': "editor:unfold-current-row"
|
|
'ctrl-ø': "editor:fold-current-row"
|
|
'alt-g': 'atomic-rtags:follow'
|
|
'alt-.': 'pane:show-next-item'
|
|
'alt-,': 'pane:show-previous-item'
|
|
'ctrl-m': 'markdown-preview-plus:sync-preview'
|
|
'ctrl-enter': 'atom-ide-go-to-definition:go-to-definition'
|
|
'ctrl-alt': 'unset!'# 'datatip:toggle'
|
|
'alt-shift': 'datatip:toggle'
|
|
'body':
|
|
'alt-.': 'pane:show-next-item'
|
|
'alt-,': 'pane:show-previous-item'
|
|
'ctrl-tab ^ctrl': 'unset!'
|
|
'ctrl-tab': 'pane:show-next-item'
|
|
'ctrl-shift-tab ^ctrl': 'unset!'
|
|
'ctrl-shift-tab': 'pane:show-previous-item'
|
|
#'ctrl-w': 'unset!'
|
|
#'ctrl-q': 'core:close'
|
|
'ctrl-q': 'unset!'
|
|
'ctrl-k ctrl-n': 'status-bar:toggle'
|
|
'atom-workspace':
|
|
#'ctrl-k ctrl-m': 'diagnostics:toggle-table'
|
|
#'ctrl-k ctrl-,': 'outline:toggle'
|
|
'ctrl-k ctrl-m': 'window:toggle-bottom-dock'
|
|
'ctrl-k ctrl-,': 'window:toggle-right-dock'
|
|
'atom-workspace atom-text-editor:not([mini])':
|
|
'alt-pagedown': 'window:focus-next-pane'
|
|
'alt-pageup': 'window:focus-previous-pane'
|
|
'ctrl-up': 'unset!'
|
|
'ctrl-down': 'unset!'
|
|
'alt-up': 'editor:move-line-up'
|
|
'alt-down': 'editor:move-line-down'
|