From bbd228ab44042e8eda924fdeeb8dfdb8cd8aeefd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Sat, 23 Sep 2023 09:08:38 +0200 Subject: [PATCH] feat: add more vspacecode keybindings --- modules/editors/vscode/home.nix | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/modules/editors/vscode/home.nix b/modules/editors/vscode/home.nix index 934e1dc..ff3f4e8 100644 --- a/modules/editors/vscode/home.nix +++ b/modules/editors/vscode/home.nix @@ -311,6 +311,58 @@ in { ]; } ]; + "vspacecode.bindingOverrides" = [ + { + "keys" = ";"; + "name" = "Show editors in active group"; + "type" = "command"; + "command" ="workbench.action.showEditorsInActiveGroup"; + } + { + "keys" = "g.g"; + "name" = "Show git status"; + "type" = "command"; + "command" = "magit.status"; + } + { + "keys" = "t.b"; + "name" = "Toggle bar"; + "type" = "command"; + "command" = "workbench.action.toggleSidebarVisibility"; + } + { + "keys" = "t.a"; + "name" = "Toggle bar"; + "type" = "command"; + "command" = "workbench.action.toggleActivityBarVisibility"; + } + { + "keys" = "t.t"; + "name" = "Toggle terminal"; + "type" = "command"; + "command" = "workbench.action.terminal.toggleTerminal"; + } + { + "keys" = "t.m"; + "name" = "Toggle menu bar"; + "type" = "command"; + "command" = "workbench.action.toggleMenuBar"; + } + { + "keys" = "s.f"; + "position" = 2; + "name" = "Search in current buffer"; + "type" = "command"; + "command" = "actions.find"; + } + { + "keys" = "s.F"; + "position" = 8; + "name" = "Replace in current buffer"; + "type" = "command"; + "command" = "editor.action.startFindReplaceAction"; + } + ]; }; }; } -- 2.48.1