This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/common/helix/config.toml
2023-07-03 23:55:31 -05:00

46 lines
910 B
TOML

theme = "custom"
[editor]
soft-wrap.enable = true
auto-pairs = false
auto-save = false
bufferline = "multiple"
scrolloff = 8
rulers = [80, 120]
cursorline = true
[editor.cursor-shape]
normal = "block"
insert = "bar"
select = "underline"
[editor.file-picker]
hidden = false
[editor.indent-guides]
render = true
character = "▏"
[keys.insert]
j = { k = "normal_mode", j = "normal_mode", K = "normal_mode", J = "normal_mode" }
[keys.normal]
D = "kill_to_line_end"
"^" = "goto_line_start"
"C-k" = "jump_view_up"
"C-j" = "jump_view_down"
"C-h" = "jump_view_left"
"C-l" = "jump_view_right"
"C-q" = ":quit-all!"
"L" = "repeat_last_motion"
[keys.normal.space]
q = ":reflow 80"
Q = ":reflow 120"
v = ":run-shell-command fish -c 'env > /tmp/env'"
C = ":bc"
# O = ["select_textobject_inner WORD", ":pipe-to xargs xdg-open"]
[keys.select]
space = { q = ":reflow 80", Q = ":reflow 120" }
"L" = "repeat_last_motion"