Forked from ahahaFx/Visual Studio Code(VS Code)用 WordStarライクなKeyboard Shortcuts
Created
February 11, 2019 06:25
-
-
Save kwccoin/e2891d1ff368bee41663a84e4b8b5a23 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
// Place your key bindings in this file to overwrite the defaults | |
// https://code.visualstudio.com/docs/customization/keybindings | |
[ | |
//---- 他の方のを流用 ---- | |
// http://tonbi.jp/Web/Diary/030/ | |
// ↑up | |
{ "key": "ctrl+e", "command": "cursorUp", | |
"when": "editorTextFocus" }, | |
{ "key": "shift+ctrl+e", "command": "cursorUpSelect", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+e", "command": "showPrevParameterHint", | |
"when": "editorTextFocus && parameterHintsVisible" }, | |
{ "key": "ctrl+e", "command": "selectPrevQuickFix", | |
"when": "editorFocus && quickFixWidgetVisible" }, | |
{ "key": "ctrl+e", "command": "selectPrevSuggestion", | |
"when": "editorTextFocus && suggestWidgetVisible" }, | |
// ←left | |
{ "key": "ctrl+s", "command": "cursorLeft", | |
"when": "editorTextFocus" }, | |
{ "key": "shift+ctrl+s", "command": "cursorLeftSelect", | |
"when": "editorTextFocus" }, | |
// →right | |
{ "key": "ctrl+d", "command": "cursorRight", | |
"when": "editorTextFocus" }, | |
{ "key": "shift+ctrl+d", "command": "cursorRightSelect", | |
"when": "editorTextFocus" }, | |
// ↓down | |
{ "key": "ctrl+x", "command": "cursorDown", | |
"when": "editorTextFocus" }, | |
{ "key": "shift+ctrl+x", "command": "cursorDownSelect", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+x", "command": "showNextParameterHint", | |
"when": "editorTextFocus && parameterHintsVisible" }, | |
{ "key": "ctrl+x", "command": "selectNextQuickFix", | |
"when": "editorFocus && quickFixWidgetVisible" }, | |
{ "key": "ctrl+x", "command": "selectNextSuggestion", | |
"when": "editorTextFocus && suggestWidgetVisible" }, | |
// ----------------------------- | |
// Original | |
{ "key": "alt+f alt+s", "command": "workbench.action.files.save" }, | |
{ "key": "ctrl+f", "command": "cursorWordRight", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+a", "command": "cursorWordLeft", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+q ctrl+d", "command": "cursorEnd", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+q ctrl+s", "command": "cursorHome", | |
"when": "editorTextFocus" }, | |
// 検索・置換 | |
{ "key": "ctrl+q ctrl+f", "command": "actions.find" }, | |
{ "key": "ctrl+q ctrl+a", "command": "editor.action.startFindReplaceAction" }, | |
// コピー&ペースト | |
{ "key": "ctrl+k ctrl+k", "command": "editor.action.clipboardCopyAction"} , | |
{ "key": "ctrl+k ctrl+y", "command": "editor.action.clipboardCutAction" }, | |
{ "key": "ctrl+k ctrl+v", "command": "editor.action.clipboardPasteAction" }, | |
{ "key": "ctrl+k ctrl+b", "command": "cursorRightSelect", | |
"when": "editorTextFocus" }, | |
// 挿入・削除 | |
{ "key": "ctrl+h", "command": "deleteLeft", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+g", "command": "deleteRight", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+r", "command": "cursorPageUp", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+c", "command": "cursorPageDown", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+q ctrl+r", "command": "cursorTop", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+q ctrl+c", "command": "cursorBottom", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+q ctrl+y", "command": "deleteAllRight", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+y", "command": "editor.action.deleteLines", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+n", "command": "editor.action.insertLineBefore", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+m", "command": "lineBreakInsert", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+i", "command": "tab", | |
"when": "editorTextFocus" }, | |
{ "key": "ctrl+shift+i", "command": "outdent", | |
"when": "editorTextFocus"}, | |
// 選択中のカーソル移動 | |
{ "key": "ctrl+d", "command": "cursorRightSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+s", "command": "cursorLeftSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+e", "command": "cursorUpSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+x", "command": "cursorDownSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+f", "command": "cursorWordRightSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+a", "command": "cursorWordLeftSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+q ctrl+d", "command": "cursorEndSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+q ctrl+s", "command": "cursorHomeSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+r", "command": "cursorPageUpSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+c", "command": "cursorPageDownSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+q ctrl+r", "command": "cursorTopSelect", | |
"when": "editorHasSelection" }, | |
{ "key": "ctrl+q ctrl+c", "command": "cursorBottomSelect", | |
"when": "editorHasSelection" }, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment