diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 4f41b7f7..0ecbebc0 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -47,22 +47,25 @@ left = [ "version-control", # "spacer", # "separator", - "file-name", + # "file-name", + "file-base-name", "read-only-indicator", "file-modification-indicator", + # "workspace-diagnostics", ] -center = ["primary-selection-length"] +center = ["diagnostics"] right = [ - "diagnostics", + "primary-selection-length", + "selections", "register", - "position", + # "position", "position-percentage", "total-line-numbers", "file-encoding", ] separator = "|" -diagnostics = ["warning", "error", "info", "hint"] -workspace-diagnostics = ["warning", "error", "info", "hint"] +diagnostics = ["warning", "error"] +workspace-diagnostics = ["warning", "error"] [editor.lsp] display-inlay-hints = true @@ -218,10 +221,11 @@ x = ":bc" C = ':toggle cursor-shape.insert bar block' # Toggle Cursor Always Centered z = ':toggle scrolloff 2 99' -# Toggle End of line diagnostics -D = ':toggle end-of-line-diagnostics hint disable' -# Toggle Inline diagnostics -d = ':toggle inline-diagnostics.cursor-line disable hint' +d = ':toggle statusline.center ["diagnostics"] ["workspace-diagnostics","diagnostics"] []' +# # Toggle End of line diagnostics +# D = ':toggle end-of-line-diagnostics hint disable' +# # Toggle Inline diagnostics +# d = ':toggle inline-diagnostics.cursor-line disable hint' # Toggle soft-wrap w = ':toggle soft-wrap.enable' # Soft wrap at specified text width