Skip to content

Instantly share code, notes, and snippets.

@ljahier
Created December 11, 2025 16:48
Show Gist options
  • Select an option

  • Save ljahier/481e32baf1bfa17bdf10fbb0ec034fac to your computer and use it in GitHub Desktop.

Select an option

Save ljahier/481e32baf1bfa17bdf10fbb0ec034fac to your computer and use it in GitHub Desktop.
my helix editor config
theme = "nord"
[editor]
line-number = "absolute"
rulers = [100]
auto-format = true
scroll-lines = 1
file-picker.hidden = false
soft-wrap.enable = true
default-yank-register="+"
trim-trailing-whitespace = true
end-of-line-diagnostics = "hint"
[editor.inline-diagnostics]
cursor-line = "warning"
other-lines = "error"
[editor.lsp]
display-inlay-hints = true
display-messages = true
[editor.whitespace.render]
space = "all"
[editor.statusline]
center = ["version-control"]
right = ["diagnostics", "selections", "position", "position-percentage", "file-encoding"]
[keys.normal.space]
"c" = ":bclose"
"t" = ":write"
"q" = ":quit"
"space" = "goto_last_accessed_file"
[keys.normal]
"G" = "goto_file_end"
"S-right" = "move_next_word_end"
"S-left" = "move_prev_word_start"
"V" = ["extend_to_line_bounds", "select_mode"]
"C-d" = ["search_selection_detect_word_boundaries", "extend_search_next"]
"y" = "yank_to_clipboard"
"Cmd-c" = "yank_to_clipboard"
"Cmd-v" = "paste_after"
[keys.select]
"G" = "goto_file_end"
"S-right" = "extend_next_word_start"
"S-left" = "extend_prev_word_end"
"C-d" = ["search_selection_detect_word_boundaries", "extend_search_next"]
"y" = "yank_to_clipboard"
"Cmd-c" = "yank_to_clipboard"
"Cmd-v" = "paste_after"
[keys.insert]
"S-right" = "move_next_word_start"
"S-left" = "move_prev_word_end"
"C-space" = "signature_help"
[[language]]
name = "rust"
roots = ["Cargo.toml"]
auto-format = true
formatter = { command = "rustfmt", args = ["+nightly"] }
language-servers = ["rust-analyzer", "copilot"]
[language-server.rust-analyzer]
command = "rust-analyzer"
[language-server.rust-analyzer.config]
check.command = "clippy"
rustfmt.extraArgs = ["+nightly"]
[language-server.copilot]
command = "/Users/ljahier/.bin/helix-copilot-proxy"
args = ["copilot-language-server"]
[language-server.copilot.config]
editorInfo = { name = "helix", version = "25.07.1" }
editorPluginInfo = { name = "helix-copilot-proxy", version = "0.1.0" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment