From 2f042713cc0d940776b8281176640b3a74cb2a6c Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Mon, 7 Apr 2025 16:35:14 -0400 Subject: [PATCH] helix use esc to collapse selection --- .../modules/nmasur/presets/programs/helix.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platforms/home-manager/modules/nmasur/presets/programs/helix.nix b/platforms/home-manager/modules/nmasur/presets/programs/helix.nix index 2ee52ba..d95636d 100644 --- a/platforms/home-manager/modules/nmasur/presets/programs/helix.nix +++ b/platforms/home-manager/modules/nmasur/presets/programs/helix.nix @@ -128,6 +128,13 @@ in theme = "base16"; keys.normal = { + + # Get out of multiple cursors and selection + esc = [ + "collapse_selection" + "keep_primary_selection" + ]; + # Enable and disable inlay hints space.H = ":toggle lsp.display-inlay-hints"; @@ -217,6 +224,7 @@ in }; }; }; + }; themes."${config.programs.helix.settings.theme}" = {