From 08658d4c42b2b3e3ecde93492430e617a25def89 Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Tue, 6 May 2025 21:53:37 +0200 Subject: [PATCH] helix: do not display display hints automatically Display hints can be annoying, hence I toggle them using -i instead. --- packages/helix.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/helix.nix b/packages/helix.nix index f9a9dd5..8c80f67 100644 --- a/packages/helix.nix +++ b/packages/helix.nix @@ -48,7 +48,7 @@ lsp = { enable = true; auto-signature-help = true; - display-inlay-hints = true; + display-inlay-hints = false; display-messages = true; snippets = true; }; @@ -78,7 +78,10 @@ }; keys = { normal = { - space.g = [":new" ":insert-output XDG_CONFIG_HOME=~/.config ${getExe lazygit}" ":buffer-close!" ":redraw"]; + space = { + g = [":new" ":insert-output XDG_CONFIG_HOME=~/.config ${getExe lazygit}" ":buffer-close!" ":redraw"]; + i = ":toggle lsp.display-inlay-hints"; + }; esc = ["collapse_selection" "keep_primary_selection" "normal_mode"]; A-H = "goto_previous_buffer"; A-L = "goto_next_buffer";