64 lines
1.3 KiB
TOML
64 lines
1.3 KiB
TOML
theme = "{{helix_theme}}"
|
|
|
|
[editor]
|
|
color-modes = true
|
|
cursorline = true
|
|
indent-guides.render = true
|
|
true-color = true
|
|
text-width = 100
|
|
|
|
[editor.cursor-shape]
|
|
insert = "bar"
|
|
normal = "block"
|
|
select = "underline"
|
|
|
|
[editor.search]
|
|
smart-case = false
|
|
|
|
[editor.soft-wrap]
|
|
enable = true
|
|
wrap-at-text-width = true
|
|
|
|
[editor.statusline]
|
|
center = ["version-control"]
|
|
|
|
[keys.normal]
|
|
C-R = ":config-reload"
|
|
|
|
_ = { n = ":set whitespace.render none", a = ":set whitespace.render all" }
|
|
|
|
# Git integration with lazygit
|
|
A-g = [
|
|
":write-all",
|
|
":insert-output lazygit >/dev/tty",
|
|
":redraw",
|
|
":reload-all"
|
|
]
|
|
|
|
# Search and replace with scooter
|
|
C-r = [
|
|
":write-all",
|
|
":insert-output scooter >/dev/tty",
|
|
":redraw",
|
|
":reload-all"
|
|
]
|
|
|
|
[keys.normal.space]
|
|
i = ":toggle lsp.display-inlay-hints"
|
|
|
|
# File explorer with yazi
|
|
e = [
|
|
":sh rm -f /tmp/unique-file-c5140c67",
|
|
":insert-output yazi '%{buffer_name}' --chooser-file=/tmp/unique-file-c5140c67",
|
|
":insert-output echo \"x1b[?1049h\" > /dev/tty",
|
|
":open %sh{cat /tmp/unique-file-c5140c67}",
|
|
":redraw",
|
|
]
|
|
E = [
|
|
":sh rm -f /tmp/unique-file-bea21125",
|
|
":insert-output yazi '%{workspace_directory}' --chooser-file=/tmp/unique-file-bea21125",
|
|
":insert-output echo \"x1b[?1049h\" > /dev/tty",
|
|
":open %sh{cat /tmp/unique-file-bea21125}",
|
|
":redraw",
|
|
]
|