Skip to content

Instantly share code, notes, and snippets.

@tenthree
Last active July 24, 2025 08:20
Show Gist options
  • Select an option

  • Save tenthree/da4132ce36854bcf2978286f01ba61a5 to your computer and use it in GitHub Desktop.

Select an option

Save tenthree/da4132ce36854bcf2978286f01ba61a5 to your computer and use it in GitHub Desktop.
helix editor settings
theme = "override"
[editor]
line-number = "relative"
bufferline = "always"
mouse = false
true-color = true
end-of-line-diagnostics = "hint"
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.indent-guides]
character = "|"
render = true
[editor.statusline]
left = ["mode", "spinner", "version-control", "file-name"]
[editor.file-picker]
hidden = false
[editor.lsp]
display-inlay-hints = true
[editor.inline-diagnostics]
cursor-line = "error"
other-lines = "disable"
[keys.normal]
# save buffer
C-s = ":w"
# move line up/down (https://github.com/helix-editor/helix/discussions/5764)
A-down = ["extend_to_line_bounds", "delete_selection", "paste_after"]
A-up = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before"]
# helix / yazi integration (https://github.com/sxyazi/yazi/pull/2461#issuecomment-2849445737)
C-y = [
':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.insert]
C-s = ":w"
#·https://github.com/helix-editor/helix/issues/4740#issuecomment-1313937852
# inherits = "default"
# inherits = "tokyonight_moon"
# inherits = "tokyonight_storm"
# inherits = "gruvbox_dark_soft"
# inherits = "gruvbox_dark_hard"
# inherits = "everforest_dark"
inherits = "kanagawa-dragon"
"ui.background" = {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment