From 98644fd2a725b78b510774ce69b0e3d2c011ab06 Mon Sep 17 00:00:00 2001 From: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Date: Mon, 21 Jun 2021 19:16:01 -0300 Subject: [PATCH] vscode: Remap Alt+N to Ctrl+N to switch tabs --- .config/Code/User/keybindings.json | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.config/Code/User/keybindings.json b/.config/Code/User/keybindings.json index 718aee7..b2de557 100644 --- a/.config/Code/User/keybindings.json +++ b/.config/Code/User/keybindings.json @@ -7,5 +7,43 @@ "key": "ctrl+shift+d", "command": "editor.action.copyLinesDownAction", "when": "editorTextFocus && !editorReadonly" + }, + + // Remap Alt+Number to Ctrl+Number to switch tabs + { + "key": "ctrl+1", + "command": "workbench.action.openEditorAtIndex1" + }, + { + "key": "ctrl+2", + "command": "workbench.action.openEditorAtIndex2" + }, + { + "key": "ctrl+3", + "command": "workbench.action.openEditorAtIndex3" + }, + { + "key": "ctrl+4", + "command": "workbench.action.openEditorAtIndex4" + }, + { + "key": "ctrl+5", + "command": "workbench.action.openEditorAtIndex5" + }, + { + "key": "ctrl+6", + "command": "workbench.action.openEditorAtIndex6" + }, + { + "key": "ctrl+7", + "command": "workbench.action.openEditorAtIndex7" + }, + { + "key": "ctrl+8", + "command": "workbench.action.openEditorAtIndex8" + }, + { + "key": "ctrl+9", + "command": "workbench.action.openEditorAtIndex9" } ] \ No newline at end of file