add helix config

This commit is contained in:
Alexander Navarro 2025-03-25 15:32:48 -03:00
parent 3fffa9d78e
commit 38ed8c696f
2 changed files with 59 additions and 0 deletions

56
config/helix/config.toml Normal file
View file

@ -0,0 +1,56 @@
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"
]
[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"

View file

@ -0,0 +1,3 @@
[[language]]
name = "rust"