Files
helix/config.toml

63 lines
1.6 KiB
TOML
Raw Permalink Normal View History

2025-01-15 13:49:50 +00:00
theme = "tokyonight_moon"
2024-02-11 23:17:29 +00:00
[editor]
2025-01-15 13:49:50 +00:00
bufferline = "multiple"
2024-02-12 01:56:18 +00:00
true-color = true
2024-02-11 23:17:29 +00:00
[editor.statusline]
2025-01-15 13:49:50 +00:00
left = ["mode", "spinner", "file-name", "file-modification-indicator"]
2024-02-11 23:17:29 +00:00
center = ["file-name"]
# right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
right = ["version-control", "diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
separator = "│"
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
[editor.gutters]
2024-02-12 01:56:18 +00:00
layout = ["line-numbers", "diff", "diagnostics", "spacer"]
2024-02-11 23:17:29 +00:00
2025-01-15 13:49:50 +00:00
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.inline-diagnostics]
# cursor-line = "hint"
other-lines = "error"
[editor.whitespace.characters]
space = "·"
nbsp = "⍽"
tab = "→"
newline = "⏎"
tabpad = "·" # Tabs will look like "→···" (depending on tab width)
[editor.soft-wrap]
enable = true
max-wrap = 25 # increase value to reduce forced mid-word wrapping
max-indent-retain = 0
wrap-indicator = "" # set wrap-indicator to "" to hide it
2024-02-11 23:17:29 +00:00
[editor.lsp]
display-messages = true
2025-01-15 13:49:50 +00:00
display-inlay-hints = false
2024-02-11 23:17:29 +00:00
[editor.indent-guides]
render = true
character = "╎" # Some characters that work well: "▏", "┆", "┊", "⸽"
skip-levels = 1
[keys.normal]
2025-01-15 13:49:50 +00:00
C-c = "normal_mode"
C-g = ":sh zellij run -f -x 10% -y 10% --width 80% --height 80% -- gitui"
C-y = ":sh zellij run -f -x 10% -y 10% --width 80% --height 80% -- bash ~/.config/helix/yazi-picker.sh"
2024-02-12 01:56:18 +00:00
[keys.insert]
2025-01-15 13:49:50 +00:00
C = "normal_mode"
2024-02-12 01:56:18 +00:00
A-c = "toggle_comments"
2025-01-15 13:49:50 +00:00
j = { k = "normal_mode" }
[keys.normal.space]
l = ":toggle lsp.display-inlay-hints"