Skip to content

Commit

Permalink
vscode: Set bindings for sub-word selection
Browse files Browse the repository at this point in the history
  • Loading branch information
huntie committed Oct 26, 2020
1 parent cd84b26 commit c19d78b
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions vscode/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
},
{
"key": "shift+cmd+f",
"command": "workbench.action.replaceInFiles"
"command": "-workbench.action.findInFiles"
},
{
"key": "shift+cmd+h",
"command": "-workbench.action.replaceInFiles"
},
{
"key": "shift+cmd+f",
"command": "-workbench.action.findInFiles"
"command": "workbench.action.replaceInFiles"
},
{
"key": "shift+cmd+d",
Expand All @@ -45,19 +45,10 @@
"command": "-editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+g",
"command": "-workbench.action.gotoLine"
},
{
"key": "cmd+g",
"command": "workbench.action.gotoLine"
},
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+delete",
"command": "editor.action.deleteLines",
Expand All @@ -73,12 +64,23 @@
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "tab",
"command": "-editor.emmet.action.expandAbbreviation",
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
"key": "ctrl+right",
"command": "cursorWordPartRight",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+right",
"command": "cursorWordPartRightSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+left",
"command": "cursorWordPartStartLeft",
"when": "textInputFocus"
},
{
"key": "cmd+k l",
"command": "workbench.files.action.showActiveFileInExplorer"
"key": "ctrl+shift+left",
"command": "cursorWordPartStartLeftSelect",
"when": "textInputFocus"
}
]

0 comments on commit c19d78b

Please sign in to comment.