annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
824
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
1 {{ if .dark -}}
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
2 theme = "catppuccin_mocha"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
3 {{ else -}}
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
4 theme = "tutticolori"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
5 {{ end }}
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
6
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
7 [editor]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
8 line-number = "relative"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
9 cursorline = true
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
10
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
11 [editor.cursor-shape]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
12 insert = "bar"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
13 normal = "block"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
14 select = "underline"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
15
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
16 [editor.indent-guides]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
17 render = true
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
18 skip-levels = 1
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
19
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
20 [keys.insert]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
21 C-f = "move_char_right"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
22
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
23 [keys.normal."space"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
24 o = "file_picker_in_current_buffer_directory"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
25
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
26 [keys.normal.g]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
27 l = ["collapse_selection", "extend_to_line_end"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
28 h = ["collapse_selection", "extend_to_line_start"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
29 s = ["collapse_selection", "select_mode", "goto_first_nonwhitespace", "exit_select_mode"]