Last active
January 18, 2017 02:57
-
-
Save peabnuts123/4fb079c951f8bd1dbb64 to your computer and use it in GitHub Desktop.
peabnuts123 (mostly eclipse-inspired) Visual Studio Code bindings. NOTE: This may never be updated again as I have switched to using Settings Sync: https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
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
[ | |
// Vanilla bindings | |
{ | |
"key": "ctrl+o", | |
"command": "workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "ctrl+[", | |
"command": "workbench.action.navigateBack" | |
}, | |
{ | |
"key": "ctrl+]", | |
"command": "workbench.action.navigateForward" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "editor.action.cutLines", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "F3", | |
"command": "editor.action.goToDeclaration" | |
}, | |
{ | |
"key": "ctrl+shift+g", | |
"command": "editor.action.referenceSearch.trigger" | |
}, | |
{ | |
"key": "ctrl+alt+r", | |
"command": "editor.action.rename", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+t", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "actions.find" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "editor.action.deleteLines", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+]", | |
"command": "workbench.files.action.openNextWorkingFile" | |
}, | |
{ | |
"key": "ctrl+shift+[", | |
"command": "workbench.files.action.openPreviousWorkingFile" | |
}, | |
{ | |
"key": "ctrl+shift+s", | |
"command": "workbench.action.files.saveAll" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "editor.action.insertLineAfter", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "editor.action.insertLineBefore", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+y", | |
"command": "editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+u", | |
"command": "cursorUndo", | |
"when": "editorTextFocus" | |
}, | |
// Requires Extension "Subword Navigation" | |
{ | |
"key": "ctrl+alt+left", | |
"command": "subwordNavigation.cursorSubwordLeft", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+right", | |
"command": "subwordNavigation.cursorSubwordRight", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+shift+left", | |
"command": "subwordNavigation.cursorSubwordLeftSelect", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+shift+right", | |
"command": "subwordNavigation.cursorSubwordRightSelect", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+backspace", | |
"command": "subwordNavigation.deleteSubwordLeft", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+delete", | |
"command": "subwordNavigation.deleteSubwordRight", | |
"when": "editorTextFocus" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment