add helix config
This commit is contained in:
parent
3fffa9d78e
commit
7e4da5dff9
3 changed files with 63 additions and 1 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