add helix config
This commit is contained in:
parent
3fffa9d78e
commit
38ed8c696f
2 changed files with 59 additions and 0 deletions
56
config/helix/config.toml
Normal file
56
config/helix/config.toml
Normal 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"
|
||||||
3
config/helix/languages.toml
Normal file
3
config/helix/languages.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "rust"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue