From 6260584877ecb4ce10499be723767ba9f7347793 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Mon, 13 Apr 2026 15:37:07 +0200 Subject: [PATCH] helix: add tinymist pin command --- files/helix/.config/helix/config.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/files/helix/.config/helix/config.toml b/files/helix/.config/helix/config.toml index b1eef63..1cac73a 100644 --- a/files/helix/.config/helix/config.toml +++ b/files/helix/.config/helix/config.toml @@ -26,9 +26,15 @@ display-inlay-hints = true "_" = ["extend_line_up", "extend_to_line_bounds"] "+" = ["extend_line_down", "extend_to_line_bounds"] +# Normally `goto`, but `git` works aswell [keys.normal.g] "b" = ":sh git show %sh{git blame -L %{cursor_line},+1 %{buffer_name} | awk '{print $1}'}" +# N, like German _Nachricht_ to the lsp +[keys.normal.n] +"p" = ':lsp-workspace-command tinymist.pinMain "%sh{realpath %{buffer_name}}"' + +# Z is everything with view, so soft-wrap fits well [keys.normal.z] s = ":set soft-wrap.enable true" S = ":set soft-wrap.enable false"