annotate dot_config/helix/config.toml.tmpl @ 1054:d3fa07d2c197

feat: enable inline diagnostics in helix
author Zeger Van de Vannet <zeger@vandevan.net>
date Mon, 15 Jul 2024 20:52:20 +0200
parents d2ceb12792f9
children e93a46f34b8a 9a26b3369ef0
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
851
ff1e2121f5bc feat: enable auto-save
Zeger Van de Vannet <zegervdv@me.com>
parents: 850
diff changeset
10 auto-save = true
824
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
11
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
12 [editor.cursor-shape]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
13 insert = "bar"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
14 normal = "block"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
15 select = "underline"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
16
1054
d3fa07d2c197 feat: enable inline diagnostics in helix
Zeger Van de Vannet <zeger@vandevan.net>
parents: 852
diff changeset
17 [editor.inline-diagnostics]
d3fa07d2c197 feat: enable inline diagnostics in helix
Zeger Van de Vannet <zeger@vandevan.net>
parents: 852
diff changeset
18 cursor-line = "warning"
d3fa07d2c197 feat: enable inline diagnostics in helix
Zeger Van de Vannet <zeger@vandevan.net>
parents: 852
diff changeset
19
850
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
20 [editor.whitespace.render]
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
21 newline = "all"
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
22
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
23 [editor.whitespace.characters]
852
d2ceb12792f9 feat: change eol character
Zeger Van de Vannet <zegervdv@me.com>
parents: 851
diff changeset
24 newline = "¬"
850
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
25
824
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
26 [editor.indent-guides]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
27 render = true
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
28 skip-levels = 1
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
29
831
cb9216ce3678 feat: show branch name in status line
zegervdv <zegervdv@me.com>
parents: 824
diff changeset
30 [editor.statusline]
850
c772355fedfb feat: tweak helix colors
Zeger Van de Vannet <zegervdv@me.com>
parents: 833
diff changeset
31 right = ["diagnostics", "selections", "register", "position", "position-percentage"]
831
cb9216ce3678 feat: show branch name in status line
zegervdv <zegervdv@me.com>
parents: 824
diff changeset
32
824
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
33 [keys.insert]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
34 C-f = "move_char_right"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
35
833
c7a17b231dd9 feat: make x select backwards when moving the selection anchor
zegervdv <zegervdv@me.com>
parents: 831
diff changeset
36 [keys.normal]
c7a17b231dd9 feat: make x select backwards when moving the selection anchor
zegervdv <zegervdv@me.com>
parents: 831
diff changeset
37 x = "extend_line"
c7a17b231dd9 feat: make x select backwards when moving the selection anchor
zegervdv <zegervdv@me.com>
parents: 831
diff changeset
38
824
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
39 [keys.normal."space"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
40 o = "file_picker_in_current_buffer_directory"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
41
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
42 [keys.normal.g]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
43 l = ["collapse_selection", "extend_to_line_end"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
44 h = ["collapse_selection", "extend_to_line_start"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
45 s = ["collapse_selection", "select_mode", "goto_first_nonwhitespace", "exit_select_mode"]