From e703f3a7ffee32fc2c7bd7cf1129846d3411fe56 Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 14 Jan 2025 22:13:14 +0100 Subject: Fully configure VSCode Signed-off-by: Mel --- configs/vscode/keybindings.nix | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 configs/vscode/keybindings.nix (limited to 'configs/vscode/keybindings.nix') diff --git a/configs/vscode/keybindings.nix b/configs/vscode/keybindings.nix new file mode 100644 index 0000000..fcb6e4d --- /dev/null +++ b/configs/vscode/keybindings.nix @@ -0,0 +1,42 @@ +{ ... }: + +[ + # toggle the left panels nicely. + { + key = "ctrl+b"; + command = "workbench.action.toggleSidebarVisibility"; + } + { + key = "alt+b"; + command = "workbench.action.toggleActivityBarVisibility"; + } + # quickly switch left panel view by order. + { + key = "ctrl+alt+1"; + command = "workbench.view.explorer"; + } + { + key = "ctrl+alt+2"; + command = "workbench.view.search"; + } + { + key = "ctrl+alt+3"; + command = "workbench.view.scm"; + } + { + key = "ctrl+alt+4"; + command = "workbench.view.debug"; + } + { + key = "ctrl+alt+5"; + command = "workbench.view.extension.test"; + } + { + key = "ctrl+alt+6"; + command = "workbench.view.extensions"; + } + { + key = "ctrl+alt+7"; + command = "workbench.view.extension.bookmarks"; + } +] -- cgit 1.4.1