helix: update keymap, add inline diagnostics
This commit is contained in:
parent
2fb0a1dd2f
commit
cca48176f6
1 changed files with 38 additions and 5 deletions
|
@ -2,8 +2,13 @@ theme = "gruvbox_dark_hard"
|
||||||
|
|
||||||
[editor]
|
[editor]
|
||||||
line-number = "relative"
|
line-number = "relative"
|
||||||
bufferline = "multiple"
|
bufferline = "never"
|
||||||
popup-border = "popup"
|
popup-border = "popup"
|
||||||
|
end-of-line-diagnostics = "hint"
|
||||||
|
|
||||||
|
[editor.inline-diagnostics]
|
||||||
|
cursor-line = "error"
|
||||||
|
other-lines = "disable"
|
||||||
|
|
||||||
[editor.statusline]
|
[editor.statusline]
|
||||||
left = [
|
left = [
|
||||||
|
@ -36,17 +41,20 @@ hidden = false
|
||||||
[editor.indent-guides]
|
[editor.indent-guides]
|
||||||
render = true
|
render = true
|
||||||
|
|
||||||
|
[editor.lsp]
|
||||||
|
auto-signature-help = false
|
||||||
|
display-messages = true
|
||||||
|
|
||||||
[editor.soft-wrap]
|
[editor.soft-wrap]
|
||||||
enable = true
|
enable = true
|
||||||
|
|
||||||
[keys.normal]
|
[keys.normal]
|
||||||
f = { f = "file_picker", w = ":write" }
|
|
||||||
|
|
||||||
space = { w = { c = ":bc" }, c = { x = ":q" } }
|
|
||||||
C-w = { c = ":buffer-close" }
|
C-w = { c = ":buffer-close" }
|
||||||
|
|
||||||
B = "extend_to_line_start"
|
B = "extend_to_line_start"
|
||||||
|
H = "goto_line_start"
|
||||||
E = "extend_to_line_end"
|
E = "extend_to_line_end"
|
||||||
|
L = "goto_line_end"
|
||||||
x = "extend_to_line_bounds"
|
x = "extend_to_line_bounds"
|
||||||
X = "extend_line_below"
|
X = "extend_line_below"
|
||||||
|
|
||||||
|
@ -54,6 +62,31 @@ d = "delete_selection_noyank"
|
||||||
A-d = "delete_selection"
|
A-d = "delete_selection"
|
||||||
c = "change_selection_noyank"
|
c = "change_selection_noyank"
|
||||||
A-c = "change_selection"
|
A-c = "change_selection"
|
||||||
|
y = ["yank_main_selection_to_clipboard", "yank"]
|
||||||
|
|
||||||
S-v = ["extend_to_line_bounds","select_mode"]
|
S-v = ["extend_to_line_bounds","select_mode"]
|
||||||
S-ret = ["open_below", "insert_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"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue