configs/dot.config/helix/config.toml

61 lines
1.2 KiB
TOML
Raw Normal View History

theme = "everforest_dark"
[editor]
2024-01-02 22:09:54 +01:00
cursorline = true
bufferline = "multiple"
[editor.statusline]
left = ["mode", "file-name", "spinner"]
center = ["diagnostics"]
right = ["selections", "primary-selection-length", "file-type", "file-encoding", "position-percentage", "position"]
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.indent-guides]
render = true
2024-01-02 21:45:04 +01:00
character = "▏" # Some characters that work well: "▏", "┆", "┊", "⸽"
skip-levels = 1
2024-06-23 14:02:10 +02:00
[editor.whitespace.render]
space = "all"
tab = "all"
nbsp = "all"
nnbsp = "all"
newline = "all"
2024-01-02 21:45:04 +01:00
[editor.whitespace.characters]
space = "·"
nbsp = "⍽"
2024-06-23 14:02:10 +02:00
nnbsp = "␣"
tab = "⇥" # "→"
newline = "⮒" # "¬" #"⏎"
tabpad = "·" # Tabs will look like "→···" (depending on tab width)
[editor.lsp]
2024-01-02 21:45:04 +01:00
enable = true
display-messages = true
2024-01-02 21:45:04 +01:00
auto-signature-help = true
display-signature-help-docs = true
display-inlay-hints = true
snippets = true
2024-01-02 21:45:04 +01:00
[editor.soft-wrap]
enable = true
max-wrap = 20
max-indent-retain = 40
wrap-indicator = "↪"
wrap-at-text-width = false
[keys.normal]
X = "extend_line_above"
2024-01-02 21:45:04 +01:00
D = "delete_char_backward"
q = "move_prev_word_start"
Q = "move_prev_long_word_start"
[keys.select]
2024-01-02 21:45:04 +01:00
q = "extend_prev_word_start"
Q = "extend_prev_long_word_start"