# theme = "onedark" [editor] mouse = true auto-completion=true rulers = [120] auto-save=true auto-format=true text-width=80 gutters = ["diff", "diagnostics", "line-numbers", "spacer"] soft-wrap.enable = true soft-wrap.max-indent-retain=80 scroll-lines = 10 [editor.file-picker] hidden = false [editor.statusline] left = ["mode", "spinner", "file-modification-indicator", "read-only-indicator", "version-control", "spacer"] center = ["file-name"] right = ["diagnostics", "register", "selections", "position", "file-encoding", "file-line-ending", "file-type", "total-line-numbers"] separator = "│" mode.normal = "LOCKED" mode.insert = "WORKING" mode.select = "VISUAL SEL" [editor.lsp] enable=true auto-signature-help=true display-messages = true [editor.indent-guides] render = true character = "┊" skip-levels = 1 # At most one section each of 'keys.normal', 'keys.insert' and 'keys.select' [keys.normal] C-s = ":w" # Maps Ctrl-s to the typable command :w which is an alias for :write (save file) C-o = ":open ~/.config/helix/config.toml" # Maps Ctrl-o to opening of the helix config file "C-S-esc" = "extend_line" # Maps Ctrl-Shift-Escape to extend_line "ret" = ["open_below", "normal_mode"] # Maps the enter key to open_below then re-enter normal mode A-w = "move_next_sub_word_start" A-b= "move_prev_sub_word_start" A-e= "move_next_sub_word_end" [keys.select] A-w= "move_next_sub_word_start" A-b= "move_prev_sub_word_start" A-e = "move_next_sub_word_end" [keys.insert] "A-x" = "normal_mode" # Maps Alt-X to enter normal mode j = { k = "normal_mode" } # Maps `jk` to exit insert mode