Skip to content

Instantly share code, notes, and snippets.

@codeslinger
Created October 25, 2025 15:38
Show Gist options
  • Select an option

  • Save codeslinger/9b1834112b70ce0eb4472e2da7bc26f0 to your computer and use it in GitHub Desktop.

Select an option

Save codeslinger/9b1834112b70ce0eb4472e2da7bc26f0 to your computer and use it in GitHub Desktop.
Helix config
theme = "dark_plus"
[editor]
# Sync clipboard with system clipboard
default-yank-register = "+"
line-number = "absolute"
[editor.file-picker]
hidden = false
[editor.whitespace]
render = "none"
[keys.normal]
# I didn't like that Ctrl+C was the default "toggle comments" shortcut
"#" = "toggle_comments"
# I didn't feel like learning a different way
# to go to the beginning/end of a line so
# I remapped ^ and $
"^" = "goto_first_nonwhitespace"
"$" = "goto_line_end"
[keys.select]
"^" = "goto_first_nonwhitespace"
"$" = "goto_line_end"
[keys.normal.space]
# I write a lot of text so I need to constantly reflow,
# and missed vim's `gq` shortcut
l = ":reflow"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment