Created
January 27, 2017 09:16
-
-
Save AkihiroImada/1aa7236808cd57822abcdf4140338963 to your computer and use it in GitHub Desktop.
Atom keymap.cson for Windows
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 | |
# | |
# If you're having trouble with your keybindings not working, try the | |
# Keybinding Resolver: `Cmd+.` on OS X and `Ctrl+.` on other platforms. See the | |
# Debugging Guide for more information: | |
# * https://atom.io/docs/latest/hacking-atom-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: | |
# https://atom.io/docs/latest/using-atom-basic-customization#cson | |
'atom-workspace atom-text-editor:not([mini])': | |
'ctrl-o': 'editor:newline-below' | |
## j j でインサートモードから脱出 | |
'atom-text-editor.vim-mode-plus.insert-mode': | |
'j j': 'vim-mode-plus:activate-normal-mode' | |
## コピペの簡易化 | |
'atom-text-editor.vim-mode-plus': | |
'ctrl-c': 'core:copy' | |
'atom-text-editor.vim-mode-plus.normal-mode': | |
'ctrl-v': 'core:paste' | |
## マルチカーソルの設定 | |
'atom-text-editor.vim-mode-plus:not(.insert-mode)': | |
'alt-ctrl-j': 'multi-cursor:expandDown' | |
'alt-ctrl-k': 'multi-cursor:expandUp' | |
'alt-ctrl-l': 'core:select-right' | |
'alt-ctrl-h': 'core:select-left' | |
'alt-ctrl-u': 'multi-cursor:skipUp' | |
'alt-ctrl-d': 'multi-cursor:skipDown' | |
## 全選択の簡易化 | |
'ctrl-a': 'core:select-all' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment