Questions tagged [helix-editor]

This tag is for the programmers' text editor named Helix.

Helix is a "post-modern" terminal-based programmers' text editor, implemented in Rust, similar in usage to Kakoune (and more distantly similar to vim). It has support for language servers, the Debug Adapter Protocol, and other facilities often unsupported by traditional terminal-based editors.

Its homepage is https://helix-editor.com/

9 questions
2
votes
1 answer

How can I map the ñ key on the Helix text editor?

I opened ./helix/config.toml to set some keymaps and since I am a spanish speaker I wanted to add a functionality to the ñ key. I added the following configuration: [keys.normal] ñ = "move_char_right" When I tried to reopen Helix it said the…
2
votes
3 answers

Delete inner word in helix editor

I am used to using diw in vim to delete a word when the curser is in the middle of the word. How can I do the same in helix editor?
1
vote
2 answers

How do I fix "Failed to execute C/C++ compiler" error when building helix grammer?

Problem: When I run the hx -g build command to build the tree-sitter grammars Helix throws the following error: Building 123 grammars 123 grammars failed to build Failure 0/123: Failed to execute C/C++ compiler Failure 1/123: Failed to…
Hammad Majid
  • 11
  • 1
  • 5
1
vote
2 answers

How to install codelldb cli on Apple Silicon

I want to be able to debug C and Rust Code in the Helix Editor. According to its documentation, I need the lldb of VSCode, codelldb. Any other DAP that works is fine for me. I am using a MacBook Pro 2022 with the M2 Processor (arm64) vscode-lldb…
Frank
  • 23
  • 1
  • 5
1
vote
1 answer

Reload config in Helix editor

Is it possible to reload config.toml without closing Helix? e.g. (n)Vim has source , is there something similar for Helix?
Matej
  • 7,728
  • 4
  • 23
  • 30
0
votes
1 answer

Configure rust for helix editor on windows 11

When running hx --health rust I do not have any check passing for rust. How can I configure rust to work with Helix editor on Windows?
Pau
  • 14,917
  • 14
  • 67
  • 94
0
votes
0 answers

Hi my helix ENV status looks not good. it's showing symblos

i am getting the below symbols when i suppose to do a health check in my helix ENV. should i need to install any fonts
0
votes
0 answers

How do I remap a macro in Helix, instead of just adding another keymap alongside the default one?

I move with j-k-l-ñ instead of h-j-k-l and I can't replace the go to line start command with gj and get rid about the gh macro. [keys.normal} g = {j = "goto_line_start} I tried to do some research but I didn't find anything beyond just disabling…
0
votes
0 answers

Helix config.toml keymap that should perform two actions but takes two tries to get them both done

I set this keymap on ./helix/config.toml : [keys.normal] backspace = {r = [":w", ":sh cargo run"]} And when I first call the macro after doing a change in a rust file, it just executes the cargo run command, and only writes the new changes to the…