aboutsummaryrefslogtreecommitdiff
path: root/.config/helix/config.toml
blob: f3eaacb5a9f01b1a36d864d426b1ded832e0059c (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
54
55
56
57
58
59
theme = "gruvbox-transparent"

[editor]
line-number = "absolute"
mouse = false
bufferline = "always"
cursorline = true
popup-border = "all"
color-modes = true
true-color = true

[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"

[editor.file-picker]
hidden = false

[editor.indent-guides]
character = "╎"
render = true
skip-levels = 1

[editor.statusline]
left = ["mode", "spinner", "version-control", "file-name", "read-only-indicator", "file-modification-indicator"]
center = []
right = ["diagnostics", "selections", "file-encoding", "register", "file-type", "position-percentage", "position"]
separator = "│"
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"

[editor.lsp]
display-messages = true
display-inlay-hints = true

[keys.normal]
C-g = ":toggle-option indent-guides.render"
C-o = ":config-open"
C-r = ":config-reload"
# Move line up/down
A-k = [
  "extend_to_line_bounds",
  "delete_selection",
  "move_line_up",
  "paste_before"
]

A-j = [
  "extend_to_line_bounds",
  "delete_selection",
  "move_line_down",
  "paste_before"
]

[keys.normal.space.space]
h = ':set gutters ["diagnostics","spacer","diff"]'
s = ':set gutters ["diagnostics","spacer","line-numbers","spacer","diff"]'