Compare commits
2 Commits
a49fa48fba
...
f249000d30
| Author | SHA1 | Date | |
|---|---|---|---|
| f249000d30 | |||
| 6260584877 |
@@ -2,15 +2,14 @@ theme = "everforest_light_modded"
|
|||||||
|
|
||||||
[editor]
|
[editor]
|
||||||
line-number = "relative"
|
line-number = "relative"
|
||||||
|
cursorline = true
|
||||||
cursor-shape.insert = "bar"
|
cursor-shape.insert = "bar"
|
||||||
insert-final-newline = false
|
insert-final-newline = false
|
||||||
# rulers = [80, 100]
|
|
||||||
true-color = true
|
true-color = true
|
||||||
text-width = 100
|
text-width = 100
|
||||||
|
|
||||||
[editor.whitespace.render]
|
[editor.whitespace.render]
|
||||||
tab = "all"
|
tab = "all"
|
||||||
# space = "all"
|
|
||||||
|
|
||||||
[editor.indent-guides]
|
[editor.indent-guides]
|
||||||
render = true
|
render = true
|
||||||
@@ -26,9 +25,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