Files
lnx-arch/dots/helix/config.toml
committer 175bae31e8 u
2024-06-26 11:56:53 -05:00

47 lines
1.2 KiB
TOML

# https://docs.helix-editor.com/configuration.html
# https://docs.helix-editor.com/remapping.html
# https://theari.dev/blog/enhanced-helix-config/
# https://github.com/helix-editor/helix/discussions/5764
[editor]
# Show currently open buffers, only when more than one exists.
bufferline = "multiple"
# Highlight all lines with a cursor
cursorline = true
# Use relative line numbers
line-number = "relative"
# Show a ruler at column 120
rulers = [120]
# Force the theme to show colors
true-color = true
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.indent-guides]
character = "╎"
render = true
[editor.lsp]
# Disable automatically popups of signature parameter help
auto-signature-help = false
# Show LSP messages in the status line
display-messages = true
[editor.statusline]
#left = ["mode", "spinner", "version-control", "file-name"]
[keys.normal]
"A-," = "goto_previous_buffer"
"A-." = "goto_next_buffer"
"A-w" = ":buffer-close"
"A-/" = "repeat_last_motion"
[keys.insert]
C-s = ":w" # Maps Ctrl-s to the typable command :w which is an alias for :write (save file)
A-down = ["extend_to_line_bounds", "delete_selection", "paste_after"]
A-up = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before"]