68 lines
1.3 KiB
TOML
68 lines
1.3 KiB
TOML
# ~/.config/helix/config.toml
|
|
|
|
theme = "boo_berry_custom"
|
|
|
|
[editor]
|
|
mouse = true
|
|
scrolloff = 1
|
|
# line-number = "relative"
|
|
cursorline = true
|
|
|
|
auto-completion = true
|
|
completion-timeout = 25
|
|
preview-completion-insert = false
|
|
completion-trigger-len = 1
|
|
|
|
bufferline = "multiple"
|
|
color-modes = true
|
|
end-of-line-diagnostics = "hint"
|
|
|
|
[editor.smart-tab]
|
|
enable = false
|
|
|
|
[editor.statusline]
|
|
left = ["mode", "spinner", "version-control", "file-modification-indicator"]
|
|
center = ["file-name"]
|
|
right = ["diagnostics", "selections", "file-encoding", "file-line-ending", "file-type", "position"]
|
|
separator = "│"
|
|
mode.normal = "NORMAL"
|
|
mode.insert = "INSERT"
|
|
mode.select = "SELECT"
|
|
diagnostics = ["hint", "info", "warning", "error"]
|
|
workspace-diagnostics = ["hint", "info", "warning", "error"]
|
|
|
|
[editor.lsp]
|
|
enable = true
|
|
display-messages = true
|
|
auto-signature-help = true
|
|
display-inlay-hints = true
|
|
|
|
[editor.file-picker]
|
|
hidden = false
|
|
|
|
[editor.whitespace]
|
|
render = "none"
|
|
|
|
[editor.inline-diagnostics]
|
|
cursor-line = "hint"
|
|
other-lines = "hint"
|
|
prefix-len = 5
|
|
|
|
[keys.normal]
|
|
|
|
# lazygit integration
|
|
C-g = [
|
|
":write-all",
|
|
":insert-output lazygit >/dev/tty",
|
|
":redraw",
|
|
":reload-all"
|
|
]
|
|
|
|
# scooter integration
|
|
C-r = [
|
|
":write-all",
|
|
":insert-output scooter --no-stdin >/dev/tty",
|
|
":redraw",
|
|
":reload-all"
|
|
]
|