dots/config/helix/config.toml
2025-03-26 16:57:54 -03:00

65 lines
1.2 KiB
TOML

theme = "catppuccin_macchiato"
[keys.normal.g]
u = "switch_to_lowercase"
U = "switch_to_uppercase"
# LSP actions
[keys.normal.space.l]
j = "goto_next_diag"
k = "goto_prev_diag"
# Git
[keys.normal.space.g]
g = [
":new",
":insert-output lazygit",
":buffer-close!",
":redraw",
":reload-all"
]
[keys.normal.space]
e = [
':sh rm -f /tmp/unique-file',
':insert-output yazi %{buffer_name} --chooser-file=/tmp/unique-file',
':insert-output echo "\x1b[?1049h\x1b[?2004h" > /dev/tty',
':open %sh{/bin/cat /tmp/unique-file}',
':redraw',
]
[editor]
line-number = "relative"
cursorline = true
color-modes = true
scrolloff = 15
default-yank-register = "*"
bufferline = "multiple"
popup-border = "all"
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.indent-guides]
render = true
[editor.statusline]
left = ["mode", "spacer", "version-control", "file-type", "file-name","file-modification-indicator", "read-only-indicator", "spinner"]
center = []
right = ["diagnostics", "position-percentage"]
mode.normal = ""
mode.insert = ""
mode.select = ""
[editor.file-picker]
hidden = false
[editor.lsp]
display-inlay-hints = true
[editor.inline-diagnostics]
cursor-line = "hint"
other-lines = "error"