view dot_config/helix/config.toml.tmpl @ 1082:f27c3aa3233c draft

feat: update mercurial to 6.9.2
author Zeger Van de Vannet <zeger@vandevan.net>
date Sat, 22 Feb 2025 17:53:59 +0100
parents 9a26b3369ef0
children 0ec3bf0cdf2f
line wrap: on
line source

{{ if .dark -}}
theme = "catppuccin_mocha"
{{ else -}}
theme = "tutticolori"
{{ end }}

[editor]
line-number = "relative"
cursorline = true
auto-save = true

[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"

[editor.inline-diagnostics]
cursor-line = "warning"

[editor.whitespace.render]
newline = "all"

[editor.whitespace.characters]
newline = "¬"

[editor.indent-guides]
render = true
skip-levels = 1

[editor.statusline]
right = ["diagnostics", "selections", "register", "position", "position-percentage"]

[keys.insert]
C-f = "move_char_right"

[keys.normal]
x = "extend_line"

[keys.normal."space"]
o = "file_browser_in_current_buffer_directory"
"." = "file_browser"

[keys.normal.g]
l = ["collapse_selection", "extend_to_line_end"]
h = ["collapse_selection", "extend_to_line_start"]
s = ["collapse_selection", "select_mode", "goto_first_nonwhitespace", "exit_select_mode"]