From cbe9371e661c62cd4168039ad6ba51813d12e1a3 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Wed, 4 Sep 2024 17:12:41 +0200 Subject: [PATCH] better hotkeys --- home-modules/helix.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/home-modules/helix.nix b/home-modules/helix.nix index 662e1ca..035e3c5 100644 --- a/home-modules/helix.nix +++ b/home-modules/helix.nix @@ -60,7 +60,14 @@ }; }; keys.normal = { - C-g = [":new" ":insert-output lazygit" ":buffer-close!" ":redraw"]; + "C-g" = [":new" ":insert-output lazygit" ":buffer-close!" ":redraw"]; + "A-`" = [ "no_op" ]; + "`" = [ "no_op" ]; + }; + keys.normal."รถ" = { + "s" = [ "switch_case" ]; + "u" = [ "switch_to_uppercase" ]; + "l" = [ "switch_to_lowercase" ]; }; }; languages = { @@ -115,7 +122,7 @@ command = lib.getExe pkgs.vale-ls; }; "language-tool" = { - command = lib.getExe pkgs.ltex-ls; + command = "${pkgs.ltex-ls}/bin/ltex-ls"; }; "ruff" = { command = "ruff-lsp";