helix: add tinymist pin command
This commit is contained in:
@@ -26,9 +26,15 @@ display-inlay-hints = true
|
|||||||
"_" = ["extend_line_up", "extend_to_line_bounds"]
|
"_" = ["extend_line_up", "extend_to_line_bounds"]
|
||||||
"+" = ["extend_line_down", "extend_to_line_bounds"]
|
"+" = ["extend_line_down", "extend_to_line_bounds"]
|
||||||
|
|
||||||
|
# Normally `goto`, but `git` works aswell
|
||||||
[keys.normal.g]
|
[keys.normal.g]
|
||||||
"b" = ":sh git show %sh{git blame -L %{cursor_line},+1 %{buffer_name} | awk '{print $1}'}"
|
"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]
|
[keys.normal.z]
|
||||||
s = ":set soft-wrap.enable true"
|
s = ":set soft-wrap.enable true"
|
||||||
S = ":set soft-wrap.enable false"
|
S = ":set soft-wrap.enable false"
|
||||||
|
|||||||
Reference in New Issue
Block a user