annotate dot_config/helix/config.toml.tmpl @ 831:cb9216ce3678

feat: show branch name in status line
author zegervdv <zegervdv@me.com>
date Sat, 06 Jan 2024 10:58:11 +0100
parents 1b779efc2b42
children c7a17b231dd9
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
831
cb9216ce3678 feat: show branch name in status line
zegervdv <zegervdv@me.com>
parents: 824
diff changeset
20 [editor.statusline]
cb9216ce3678 feat: show branch name in status line
zegervdv <zegervdv@me.com>
parents: 824
diff changeset
21 right = ["diagnostics", "version-control", "selections", "register", "position", "file-encoding"]
cb9216ce3678 feat: show branch name in status line
zegervdv <zegervdv@me.com>
parents: 824
diff changeset
22
824
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
23 [keys.insert]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
24 C-f = "move_char_right"
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."space"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
27 o = "file_picker_in_current_buffer_directory"
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
28
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
29 [keys.normal.g]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
30 l = ["collapse_selection", "extend_to_line_end"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
31 h = ["collapse_selection", "extend_to_line_start"]
1b779efc2b42 feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff changeset
32 s = ["collapse_selection", "select_mode", "goto_first_nonwhitespace", "exit_select_mode"]