mirror of
https://github.com/jimeh/.vscode.d.git
synced 2026-02-19 03:16:39 +00:00
chore(keybindings): refine navigation keybindings for editor and file explorer
- Updated conditions for navigating right to exclude file explorer focus. - Added new keybindings to navigate back to the editor from the file explorer.
This commit is contained in:
@@ -313,12 +313,12 @@
|
||||
{ // Navigate right.
|
||||
"key": "alt+l",
|
||||
"command": "workbench.action.navigateRight",
|
||||
"when": "!panelFocus"
|
||||
"when": "!panelFocus && !filesExplorerFocus"
|
||||
},
|
||||
{ // Navigate right.
|
||||
"key": "cmd+alt+right",
|
||||
"command": "workbench.action.navigateRight",
|
||||
"when": "!panelFocus"
|
||||
"when": "!panelFocus && !filesExplorerFocus"
|
||||
},
|
||||
{ // Navigate left.
|
||||
"key": "alt+j",
|
||||
@@ -339,6 +339,16 @@
|
||||
"command": "workbench.action.focusActiveEditorGroup",
|
||||
"when": "panelFocus"
|
||||
},
|
||||
{ // Navigate right back to editor from file explorer.
|
||||
"key": "alt+l",
|
||||
"command": "workbench.action.focusActiveEditorGroup",
|
||||
"when": "filesExplorerFocus"
|
||||
},
|
||||
{ // Navigate right back to editor from file explorer.
|
||||
"key": "cmd+alt+right",
|
||||
"command": "workbench.action.focusActiveEditorGroup",
|
||||
"when": "filesExplorerFocus"
|
||||
},
|
||||
{ // Navigate up back to editor from terminal.
|
||||
//
|
||||
// Workaround for alt+i not working in VSCode. Relies on Karabiner-Elements
|
||||
|
||||
Reference in New Issue
Block a user