Mercurial > dotfiles
diff dot_config/helix/config.toml.tmpl @ 824:1b779efc2b42
feat: template helix config to set the colorscheme
author | zegervdv <zegervdv@me.com> |
---|---|
date | Thu, 21 Dec 2023 11:47:20 +0100 |
parents | |
children | cb9216ce3678 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dot_config/helix/config.toml.tmpl Thu Dec 21 11:47:20 2023 +0100 @@ -0,0 +1,29 @@ +{{ if .dark -}} +theme = "catppuccin_mocha" +{{ else -}} +theme = "tutticolori" +{{ end }} + +[editor] +line-number = "relative" +cursorline = true + +[editor.cursor-shape] +insert = "bar" +normal = "block" +select = "underline" + +[editor.indent-guides] +render = true +skip-levels = 1 + +[keys.insert] +C-f = "move_char_right" + +[keys.normal."space"] +o = "file_picker_in_current_buffer_directory" + +[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"]