# HG changeset patch # User zegervdv # Date 1703155640 -3600 # Node ID 1b779efc2b4200c45422655a41c4f321000d79c5 # Parent 2e86aa5360eb4caa6e687880511583d25ecf6648 feat: template helix config to set the colorscheme diff -r 2e86aa5360eb -r 1b779efc2b42 dot_config/helix/config.toml --- a/dot_config/helix/config.toml Thu Dec 21 10:43:19 2023 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -theme = "tutticolori" - -[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"] diff -r 2e86aa5360eb -r 1b779efc2b42 dot_config/helix/config.toml.tmpl --- /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"]