Helix Editor
- Continue line comments by TornaxO7 · Pull Request #10996 · helix-editor/helixgithub.com Continue line comments by TornaxO7 · Pull Request #10996 · helix-editor/helix
Closes #1730 Continues #8664 This is my attempt to apply the changes of #4718 to the PR.
- Is there a shortcut doing open_below → normal_mode → paste_before?
or should I create my binding in the keymap?
- Release 24.07 · helix-editor/helix
Came out a few days ago, but I thought it was worth posting here =)
- Helix: Setup for Markdownmedium.com Helix: Setup for Markdown
Helix is fantastic, there’s almost no need to sing it’s praises these days. However, with all new tools, there are growing pains. It’s…
- How to open the parent directory relative to the current buffer
To open a file relative to the current one in Helix, you can to the do the following with 24.3:
:o <C-r>%<C-w>
Here, the Control-R allows you to select a register and the special register "%" contains the current file path and inserts into the command line, while the final Control-w chops off the last part of the file name leaving with you current directory.
This is like
:o %:h
from Vim/Neovim - Git integration in Helix for an IDE like experience?
YouTube Video
Click to view this content.
- Trouble setting up arduino on helix
Hi!
I am trying to set up arduino autocompletion and syntax highlighting. I followed some of the instuctions in an issue on the github adding that to my own common sense, and it mostly overlaps now. But the syntaxhighlighting is still not there, and neither is autocompletion.
My ~/.config/helix tree looks like this now: ``` . ├── config.toml ├── languages.toml ├── runtime │ └── queries │ ├── arduino │ │ ├── folds.scm │ │ ├── highlights.scm │ │ ├── indents.scm │ │ ├── injections.scm │ │ └── locals.scm │ └── cpp │ ├── folds.scm │ ├── highlights.scm │ ├── indents.scm │ ├── injections.scm │ └── locals.scm └── themes └── molokai-edit.toml ``` and the relevant content (I removed some markdown stuff for this post) of languages.toml: ```toml [language-server.arduino] command = "./arduino-language-server" args=["-clangd","/usr/local/bin/clangd","-cli","/usr/local/bin/arduino-cli","-cli-config","~/.arduino15/arduino-cli.yaml","-fqbn","arduino:avr:uno"]
[[grammar]] name = "cpp" source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "a90f170f92d5d70e7c2d4183c146e61ba5f3a457" }
[[grammar]] name = "arduino" source = { git = "https://github.com/ObserverOfTime/tree-sitter-arduino", rev = "db929fc6822b9b9e1211678d508f187894ce0345"}
[...] < here was some config for markdown
[[language]] name = "arduino" scope="source.arduino" file-types=[ "ino" ] language-servers=[ "arduino" ] injection-regex = "arduino" comment-token = "//" roots=["sketch.yaml"] ``` I also installed the packages
arduino-language-server
(with depclangd
) andarduino-cli
from the arch repos.I just remembered: I am using the
helix-ext
AUR package (which means I am still on 23.10.2), to be able to use the file tree on the left. here is the repo. Could that be the issue?I have no idea anymore what I am doing wrong, could anyone tell me? If you need more information to help, just ask for it.
addition (14-4-24): As I switched to nvim (lack of features in helix), I am not interested in setting this up anymore. Thanks!
- New Helix release! 23.10
New helix version was released 12 minutes ago with new features:
- multiple language servers
- fuzzy matching with nucleo (nucleo is a project from creators of helix and is significantly faster than alternatives like fzf)
- smart tab
- better registers
- initial support for LSP DidChangeWatchedFiles
- syntax highlight regex prompts
- What are your top tips for new Helix users?
I've started using Helix occasionally as I stumbled across the editor when trying to customize vim for Rust.
Immediately, I fell in love with how (mostly) plug and play Helix is.
Over the next few months, I plan to use Helix more and more. If you have any useful tips on usage, customization or anything else I am all ears.
- Helix now supports GNU Assembler (gas)github.com add GNU assembler (gas) support #8291) · helix-editor/helix@941dc6c
A post-modern modal text editor. Contribute to helix-editor/helix development by creating an account on GitHub.
- Alternate Helix Editor communityprogramming.dev Helix Editor - programming.dev
# Helix, a post-modern text editor. Ask all your questions related to Helix, or post relevant content for Helix users. This is a non-official Helix community (tho we’d love to be official!). # Useful links https://helix-editor.com/ [https://helix-editor.com/]
Consider posting to the existing one?
- Helix has just transitioned to Nucleo for fuzzy matchinggithub.com transition to nucleo for fuzzy matching (#7814) · helix-editor/helix@0cb595e
* transition to nucleo for fuzzy matching * drop flakey test case since the picker streams in results now any test that relies on the picker containing results is potentially flakely * us...
Nucleo is a project from creators of helix and is significantly faster that alternatives like fzf.
If you want to use latest features, such as this one, check out
helix-git
AUR package. (if you are using arch btw) - LLM code completion in Helix
I found this nice project on GitHub: DJAndries/llmvm. It doesn't seem to work as seamless as GitHub Copilot in JetBrains Rider or VSCode, for example, but since there is no plugin system yet, it's a nice option.