helix: update keymap, add inline diagnostics

This commit is contained in:
fanyx 2025-07-22 20:08:35 +02:00
parent 2fb0a1dd2f
commit cca48176f6
Signed by: fanyx
SSH key fingerprint: SHA256:Gwc2cuQkLEIzOapSR+R8raHvC1bSAkPsYuPqlPoFlD8

View file

@ -2,8 +2,13 @@ theme = "gruvbox_dark_hard"
[editor]
line-number = "relative"
bufferline = "multiple"
bufferline = "never"
popup-border = "popup"
end-of-line-diagnostics = "hint"
[editor.inline-diagnostics]
cursor-line = "error"
other-lines = "disable"
[editor.statusline]
left = [
@ -36,24 +41,52 @@ hidden = false
[editor.indent-guides]
render = true
[editor.lsp]
auto-signature-help = false
display-messages = true
[editor.soft-wrap]
enable = true
[keys.normal]
f = { f = "file_picker", w = ":write" }
space = { w = { c = ":bc" }, c = { x = ":q" } }
C-w = { c = ":buffer-close" }
B = "extend_to_line_start"
H = "goto_line_start"
E = "extend_to_line_end"
L = "goto_line_end"
x = "extend_to_line_bounds"
X = "extend_line_below"
d = "delete_selection_noyank"
A-d = "delete_selection"
A-d = "delete_selection"
c = "change_selection_noyank"
A-c = "change_selection"
y = ["yank_main_selection_to_clipboard", "yank"]
S-v = ["extend_to_line_bounds","select_mode"]
S-ret = ["open_below", "insert_mode"]
[keys.normal.space.b]
b = "buffer_picker"
n = ":buffer-next"
p = ":buffer-previous"
q = ":buffer-close"
Q = ":buffer-close-all"
C = ":buffer-close-others --skip-visible"
[keys.normal.space.w]
[keys.normal.space.e]
[keys.normal.space.f]
f = "file_picker"
e = "file_explorer"
w = ":write"
g = "changed_file_picker"
[keys.insert]
C-g = "normal_mode"
[keys.select]
y = ["yank_main_selection_to_clipboard", "yank"]