diff --git a/keybindings.json b/keybindings.json index c09498f..974f858 100644 --- a/keybindings.json +++ b/keybindings.json @@ -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