mirror of
https://github.com/jimeh/.vscode.d.git
synced 2026-02-19 11:26:39 +00:00
feat(keybindings): enhance navigation and terminal pane focus keybindings for improved workflow
This commit is contained in:
@@ -312,11 +312,23 @@
|
||||
},
|
||||
{ // Navigate right.
|
||||
"key": "alt+l",
|
||||
"command": "workbench.action.navigateRight"
|
||||
"command": "workbench.action.navigateRight",
|
||||
"when": "!panelFocus"
|
||||
},
|
||||
{ // Navigate right.
|
||||
"key": "cmd+alt+right",
|
||||
"command": "workbench.action.navigateRight",
|
||||
"when": "!panelFocus"
|
||||
},
|
||||
{ // Navigate left.
|
||||
"key": "alt+j",
|
||||
"command": "workbench.action.navigateLeft"
|
||||
"command": "workbench.action.navigateLeft",
|
||||
"when": "!panelFocus"
|
||||
},
|
||||
{ // Navigate left.
|
||||
"key": "cmd+alt+left",
|
||||
"command": "workbench.action.navigateLeft",
|
||||
"when": "!panelFocus"
|
||||
},
|
||||
{ // Navigate down.
|
||||
"key": "alt+k",
|
||||
@@ -335,6 +347,26 @@
|
||||
"command": "workbench.action.focusActiveEditorGroup",
|
||||
"when": "panelFocus"
|
||||
},
|
||||
{ // Focus next terminal pane.
|
||||
"key": "alt+l",
|
||||
"command": "workbench.action.terminal.focusNextPane",
|
||||
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
|
||||
},
|
||||
{ // Focus next terminal pane.
|
||||
"key": "cmd+alt+right",
|
||||
"command": "workbench.action.terminal.focusNextPane",
|
||||
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
|
||||
},
|
||||
{ // Focus previous terminal pane.
|
||||
"key": "alt+j",
|
||||
"command": "workbench.action.terminal.focusPreviousPane",
|
||||
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
|
||||
},
|
||||
{ // Focus previous terminal pane.
|
||||
"key": "cmd+alt+left",
|
||||
"command": "workbench.action.terminal.focusPreviousPane",
|
||||
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
|
||||
},
|
||||
//
|
||||
// ===========================================================================
|
||||
// MARK: Searching
|
||||
@@ -514,7 +546,7 @@
|
||||
//
|
||||
// This is a workaround for alt+e not working in VSCode. Relies on
|
||||
// Karabiner-Elements to remap alt+e to cmd+alt+right.
|
||||
"key": "cmd+alt+right",
|
||||
"key": "cmd+shift+alt+right",
|
||||
"command": "emacs-mcx.forwardParagraph",
|
||||
"when": "editorTextFocus && !suggestWidgetVisible"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user