Skip to content

Instantly share code, notes, and snippets.

@Schr3da
Last active June 11, 2025 09:07
Show Gist options
  • Save Schr3da/4767e436f2cc47c5d23fc05745fd6d03 to your computer and use it in GitHub Desktop.
Save Schr3da/4767e436f2cc47c5d23fc05745fd6d03 to your computer and use it in GitHub Desktop.
Custom Helix editor configuration
theme = "base16_transparent" #"ayu_light"
[editor]
cursorline = true
color-modes = true
auto-pairs = false
true-color = true
mouse = false
scrolloff = 10
bufferline = "multiple"
end-of-line-diagnostics = "hint"
[editor.inline-diagnostics]
cursor-line = "hint"
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.statusline]
left = ["mode", "spinner"]
center = ["file-name"]
right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
separator = "│"
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
[editor.indent-guides]
render = true
[keys.normal]
"%" = "match_brackets"
"*" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_next"]
"#" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_prev"]
"$" = "goto_line_end"
0 = "goto_line_start"
G = "goto_file_end"
C-e = [
':sh rm -f /tmp/unique-file',
':insert-output yazi %{buffer_name} --chooser-file=/tmp/unique-file',
':insert-output echo "\x1b[?1049h\x1b[?2004h" > /dev/tty',
':open %sh{cat /tmp/unique-file}',
':redraw',
]
[keys.select]
i = "select_textobject_inner"
a = "select_textobject_around"
[keys.normal.space]
l = ":toggle lsp.display-inlay-hints"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment