/ helix / config.toml
config.toml
 1  theme = "my_rose_pine"
 2  
 3  [editor]
 4  bufferline = "multiple"
 5  line-number = "relative"
 6  cursorline = true
 7  popup-border = "all"
 8  color-modes = true
 9  default-yank-register = "+"
10  
11  [editor.statusline]
12  left = ["spacer", "separator", "spacer", "file-name", "read-only-indicator", "file-modification-indicator"]
13  right = ["spinner", "spacer", "version-control", "spacer", "diagnostics", "register", "position", "file-encoding", "file-line-ending", "file-type"]
14  mode.normal = "NORMAL"
15  mode.insert = "INSERT"
16  mode.select = "SELECT"
17  separator = ""
18  
19  [editor.cursor-shape]
20  insert = "bar"
21  normal = "block"
22  select = "block"
23  
24  [editor.lsp]
25  auto-signature-help = false
26  display-messages = true
27  
28  [editor.indent-guides]
29  render = true
30  character = "▏"
31  
32  [keys.normal.space]
33  i = ":toggle lsp.display-inlay-hints"
34  # replace <space>-e with yazi instead of default file manager
35  e = [
36    ':sh rm -f /tmp/unique-file',
37    ':insert-output yazi "%{buffer_name}" --chooser-file=/tmp/unique-file',
38    ':insert-output echo "\x1b[?1049h\x1b[?2004h" > /dev/tty',
39    ':open %sh{cat /tmp/unique-file}',
40    ':redraw',
41  ]