summaryrefslogtreecommitdiffstats
path: root/config/helix/config.toml
blob: 081cd545687d199da086c206de2a0c71e012d72b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
theme = "doy"

[editor]
gutters = ["diagnostics"]
auto-info = false
color-modes = true

[keys.normal]
tab = ":w"
"|" = ":q"

"H" = "goto_previous_buffer"
"L" = "goto_next_buffer"
"C-d" = ":buffer-close"

"$" = "goto_line_end"
")" = "goto_line_start"
"_" = "goto_first_nonwhitespace"

"ret" = "goto_definition"
"backspace" = "jump_backward"

"D" = "kill_to_line_end"
"Y" = ["select_mode", "goto_line_end", "yank", "normal_mode", "flip_selections", "collapse_selection"]

"esc" = "collapse_selection"

"C-c" = ":config-reload"

[keys.normal.";"]
"x" = "toggle_comments"

"h" = "select_prev_sibling"
"j" = "shrink_selection"
"k" = "expand_selection"
"l" = "select_next_sibling"

"|" = "shell_pipe"
"$" = "shell_keep_pipe"

[keys.select]
"$" = "goto_line_end"
")" = "goto_line_start"
"_" = "goto_first_nonwhitespace"

[keys.select.";"]
"x" = "toggle_comments"

"|" = "shell_pipe"
"$" = "shell_keep_pipe"

[keys.select."g"]
"q" = ":reflow"