dotconfig/dot_config/helix/config.toml

92 lines
1.6 KiB
TOML

theme = "gruvbox_dark_hard"
[editor]
line-number = "relative"
bufferline = "never"
popup-border = "popup"
end-of-line-diagnostics = "hint"
[editor.inline-diagnostics]
cursor-line = "error"
other-lines = "disable"
[editor.statusline]
left = [
"mode",
"spinner",
"file-type",
"file-name",
"version-control",
"read-only-indicator",
"file-modification-indicator"
]
center = []
right = [
"diagnostics",
"selections",
"register",
"position",
"position-percentage",
"file-encoding"
]
[editor.cursor-shape]
normal = "block"
insert = "bar"
select = "underline"
[editor.file-picker]
hidden = false
[editor.indent-guides]
render = true
[editor.lsp]
auto-signature-help = false
display-messages = true
[editor.soft-wrap]
enable = true
[keys.normal]
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"
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"]