dotfiles/dot_config/helix/config.toml

53 lines
1.1 KiB
TOML

theme = "catppuccin_macchiato"
[editor]
line-number = "relative"
cursorline = true
color-modes = true
rulers = [80, 120]
auto-pairs = false
# [editor.smart-tab]
# enable = true
[editor.whitespace.render]
space = "all"
tab = "all"
nbsp = "none"
nnbsp = "none"
newline = "all"
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.indent-guides]
render = true
[editor.statusline]
left = ["mode", "spinner", "file-name", "file-type", "file-encoding", "file-line-ending"]
center = ["version-control"]
right = ["diagnostics", "selections", "position", "position-percentage", "spacer", "mode"]
separator = "│"
mode.normal = ""
mode.insert = ""
mode.select = ""
[keys.normal]
C-h = "jump_view_left"
C-j = "jump_view_down"
C-k = "jump_view_up"
C-l = "jump_view_right"
"}" = "goto_next_paragraph"
"{" = "goto_prev_paragraph"
[keys.insert]
"A-x" = "normal_mode" # Maps Alt-X to enter normal mode
j = { k = "normal_mode" } # Maps `jk` to exit insert mode
[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