From b95fa9bd26b7528fdd4ecf7dd8c30f41e38e6eb0 Mon Sep 17 00:00:00 2001 From: Kate Adkins Date: Wed, 20 Nov 2024 23:37:06 -0700 Subject: [PATCH] vscode: add double-shift --- nixos/configs/dotfiles/vscode.hm.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/nixos/configs/dotfiles/vscode.hm.nix b/nixos/configs/dotfiles/vscode.hm.nix index 4e637ae..53d34b9 100644 --- a/nixos/configs/dotfiles/vscode.hm.nix +++ b/nixos/configs/dotfiles/vscode.hm.nix @@ -64,6 +64,24 @@ in ]; + # + # Keybindings. + # + keybindings = [ + { + key = "shift shift"; + command = "workbench.action.quickOpen"; + } + { + key = "alt alt"; + command = "workbench.action.quickOpen"; + } + { + key = "ctrl ctrl"; + command = "workbench.action.showCommands"; + } + ]; + # # VSCode settings; runtime settings are immutable. #