Skip to content

Instantly share code, notes, and snippets.

@ljahier
Last active February 27, 2026 06:32
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 = false
default-yank-register = "+"
trim-trailing-whitespace = true
end-of-line-diagnostics = "hint"
inline-completion-auto-trigger = true
[editor.inline-diagnostics]
cursor-line = "warning"
other-lines = "error"
[editor.lsp]
display-inlay-hints = true
display-messages = true
[editor.cursor-shape]
insert = "bar"
[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"
"E" = "file_explorer_in_current_buffer_directory"
"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.normal.f]
"f" = "file_picker"
"g" = "workspace_symbol_picker"
"e" = "file_explorer_in_current_buffer_directory"
[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-k" = "signature_help"
"tab" = ["inline_completion_accept", "insert_tab"]
"esc" = "inline_completion_dismiss"
"C-p" = "completion"
# LSP
[language-server.rust-analyzer]
command = "rust-analyzer"
[language-server.rust-analyzer.config]
check.command = "clippy"
rustfmt.extraArgs = ["+nightly"]
[language-server.taplo]
command = "taplo"
args = ["lsp", "stdio"]
[language-server.copilot]
command = "/Users/ljahier/.bin/copilot-language-server"
args = ["--stdio"]
[language-server.copilot.config]
editorInfo = { name = "helix", version = "25.07.1-fork" }
editorPluginInfo = { name = "copilot", version = "1.430.0" }
# Config
[[language]]
name = "rust"
roots = ["Cargo.toml"]
auto-format = true
formatter = { command = "rustfmt", args = ["+nightly"] }
language-servers = ["rust-analyzer", "copilot"]
[[language]]
name = "toml"
file-types = ["toml"]
roots = ["Cargo.toml", "pyproject.toml", "taplo.toml"]
auto-format = true
formatter = { command = "taplo", args = ["fmt", "-"] }
language-servers = ["taplo", "copilot"]
[[language]]
name = "sql"
file-types = ["sql"]
auto-format = true
language-servers = ["copilot"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment