helix/config.toml

68 lines
1.1 KiB
TOML

# theme = "catppuccin_mocha"
theme = "sonokai"
[editor]
true-color = true
mouse = true
color-modes = true
rulers = [80, 100, 120]
shell = ["bash", "-c"]
bufferline = "multiple"
end-of-line-diagnostics = "hint"
text-width = 100
[editor.indent-guides]
render = true
character = "┆"
skip-levels = 1
[editor.smart-tab]
enable = true
[editor.soft-wrap]
enable = true
wrap-at-text-width = true
[editor.inline-diagnostics]
cursor-line = "error"
other-lines = "warning"
[editor.whitespace.render]
space = "none"
tab = "all"
nbsp = "all"
nnbsp = "all"
newline = "none"
[editor.whitespace.characters]
space = "·"
nbsp = "⍽"
nnbsp = "␣"
tab = "→"
newline = "⏎"
tabpad = "·"
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.lsp]
display-messages = true
auto-signature-help = true
display-signature-help-docs = true
display-inlay-hints = true
[keys.normal."A-f"]
"f" = ":format"
"w" = ":toggle-option soft-wrap.wrap-at-text-width"
[keys.normal."A-r"]
"b" = ":sh cargo build"
"r" = ":sh cargo run"
"t" = ":sh cargo text"
[keys.normal."A-z"]
"b" = ":sh zig build"
"r" = ":sh zig build run"
"t" = ":sh zig text"