see up to date gist https://gist.github.com/LoganTann/d42bd271b6a697ff85569ddac19e97b9
Last active
September 18, 2024 13:04
-
-
Save LoganTann/1bc1c7abf1f083391e8b9e0948b41722 to your computer and use it in GitHub Desktop.
(outdated) personal keybindings (vscode for intelliJ user)
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
[ | |
{ | |
"key": "alt+enter", | |
"command": "-editor.action.selectAllMatches", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+oem_period", | |
"command": "-editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "editor.action.duplicateSelection" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "editor.action.insertCursorAbove", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+up", | |
"command": "-editor.action.insertCursorAbove", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "editor.action.insertCursorBelow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+down", | |
"command": "-editor.action.insertCursorBelow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "shift+f6", | |
"command": "-workbench.action.focusPreviousPart" | |
}, | |
{ | |
"key": "ctrl+down", | |
"command": "-scrollLineDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+down", | |
"command": "editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+up", | |
"command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+down", | |
"command": "-list.scrollDown", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+x", | |
"command": "-workbench.view.extensions", | |
"when": "viewContainer.workbench.view.extensions.enabled" | |
}, | |
{ | |
"key": "ctrl+shift+x", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift shift", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "workbench.action.quickOpen", | |
"args": "@:", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+f6", | |
"command": "editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f2", | |
"command": "-editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment