Compare commits

..

2 Commits

Author SHA1 Message Date
f249000d30 helix: cleanup config 2026-04-13 21:52:50 +02:00
6260584877 helix: add tinymist pin command 2026-04-13 21:41:26 +02:00

View File

@@ -2,15 +2,14 @@ theme = "everforest_light_modded"
[editor]
line-number = "relative"
cursorline = true
cursor-shape.insert = "bar"
insert-final-newline = false
# rulers = [80, 100]
true-color = true
text-width = 100
[editor.whitespace.render]
tab = "all"
# space = "all"
[editor.indent-guides]
render = true
@@ -26,13 +25,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}'}"
# T, like telephone to the LSP (call the LSP)
[keys.normal.t]
# 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"