helix for zsh

This commit is contained in:
2026-02-01 22:02:25 +08:00
parent e86f9d47e7
commit 3d22ed9633
3 changed files with 30 additions and 0 deletions

19
helix/config.toml Normal file
View File

@@ -0,0 +1,19 @@
theme = "onedark"
[editor]
line-number = "relative"
cursorline = true
cursorcolumn = true
default-yank-register = "+"
continue-comments = true
[editor.statusline]
left = ["mode", "spinner", "read-only-indicator", "file-modification-indicator", "version-control"]
center = ["file-name", "total-line-numbers", "position-percentage"]
right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
separator = "│"
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
diagnostics = ["warning", "error"]
workspace-diagnostics = ["warning", "error"]