Mercurial > dotfiles
annotate dot_config/helix/config.toml.tmpl @ 833:c7a17b231dd9
feat: make x select backwards when moving the selection anchor
author | zegervdv <zegervdv@me.com> |
---|---|
date | Fri, 12 Jan 2024 07:17:34 +0100 |
parents | cb9216ce3678 |
children | c772355fedfb |
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] |
833
c7a17b231dd9
feat: make x select backwards when moving the selection anchor
zegervdv <zegervdv@me.com>
parents:
831
diff
changeset
|
21 right = ["diagnostics", "version-control", "selections", "register", "position", "position-percentage"] |
831
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 |
833
c7a17b231dd9
feat: make x select backwards when moving the selection anchor
zegervdv <zegervdv@me.com>
parents:
831
diff
changeset
|
26 [keys.normal] |
c7a17b231dd9
feat: make x select backwards when moving the selection anchor
zegervdv <zegervdv@me.com>
parents:
831
diff
changeset
|
27 x = "extend_line" |
c7a17b231dd9
feat: make x select backwards when moving the selection anchor
zegervdv <zegervdv@me.com>
parents:
831
diff
changeset
|
28 |
824
1b779efc2b42
feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
29 [keys.normal."space"] |
1b779efc2b42
feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
30 o = "file_picker_in_current_buffer_directory" |
1b779efc2b42
feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
31 |
1b779efc2b42
feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
32 [keys.normal.g] |
1b779efc2b42
feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
33 l = ["collapse_selection", "extend_to_line_end"] |
1b779efc2b42
feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
34 h = ["collapse_selection", "extend_to_line_start"] |
1b779efc2b42
feat: template helix config to set the colorscheme
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
35 s = ["collapse_selection", "select_mode", "goto_first_nonwhitespace", "exit_select_mode"] |