Files
chezmoi/dot_config/helix/config.toml
2025-08-04 11:10:27 +02:00

35 lines
868 B
TOML

theme = "dracula_transparent"
[editor]
line-number = "relative"
mouse = false
true-color = true
end-of-line-diagnostics = "hint"
[editor.clipboard-provider.custom]
yank = { command = "voidpin", args = ["paste"] }
paste = { command = "voidpin", args = ["copy"] }
[editor.inline-diagnostics]
cursor-line = "warning" # show warnings and errors on the cursorline inline
[editor.file-picker]
hidden = false
[keys.normal."space".v]
"c" = ":pipe-to voidpin remote copy"
[keys.select."space".v]
"c" = ":pipe-to voidpin remote copy"
[keys.normal.space.o]
e = [
":sh rm -f /tmp/unique-file-h21a434",
":insert-output noil edit '%{buffer_name}' --chooser-file=/tmp/unique-file-h21a434 --commit --quiet < /dev/tty",
":insert-output echo \"x1b[?1049h\" > /dev/tty",
":open %sh{cat /tmp/unique-file-h21a434}",
":redraw",
':set mouse false',
':set mouse true',
]