annotate dot_config/helix/config.toml.tmpl @ 850:c772355fedfb

feat: tweak helix colors
author Zeger Van de Vannet <zegervdv@me.com>
date Fri, 23 Feb 2024 15:37:58 +0100
parents c7a17b231dd9
children ff1e2121f5bc
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
850
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
16 [editor.whitespace.render]
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
17 newline = "all"
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
18
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
19 [editor.whitespace.characters]
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
20 newline = "~"
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
21
824
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
22 [editor.indent-guides]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
23 render = true
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
24 skip-levels = 1
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
25
831
cb9216ce3678 feat: show branch name in status line
zegervdv <zegervdv@me.com>
parents: 824
diff changeset
26 [editor.statusline]
850
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
27 right = ["diagnostics", "selections", "register", "position", "position-percentage"]
831
cb9216ce3678 feat: show branch name in status line
zegervdv <zegervdv@me.com>
parents: 824
diff changeset
28
824
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
29 [keys.insert]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
30 C-f = "move_char_right"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
31
833
c7a17b231dd9 feat: make x select backwards when moving the selection anchor
zegervdv <zegervdv@me.com>
parents: 831
diff changeset
32 [keys.normal]
c7a17b231dd9 feat: make x select backwards when moving the selection anchor
zegervdv <zegervdv@me.com>
parents: 831
diff changeset
33 x = "extend_line"
c7a17b231dd9 feat: make x select backwards when moving the selection anchor
zegervdv <zegervdv@me.com>
parents: 831
diff changeset
34
824
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
35 [keys.normal."space"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
36 o = "file_picker_in_current_buffer_directory"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
37
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
38 [keys.normal.g]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
39 l = ["collapse_selection", "extend_to_line_end"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
40 h = ["collapse_selection", "extend_to_line_start"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
41 s = ["collapse_selection", "select_mode", "goto_first_nonwhitespace", "exit_select_mode"]