


-
Helix Editor @programming.dev unhrpetby @sh.itjust.works Infuriating Indentation Heuristic
Helix is great, but please why can't indentation just be what is set in the language.toml file?
undefined
[[language]] name = "zig" indent = { tab-width = 8, unit = "\t" }
Changing indent-heuristic doesn't fix it. Why does helix give me the option to set the indentation style and then proceed to overwrite it, Instantly resetting it to 4 spaces instead of what I told it.
The behavior that is occurring is extremely weird and would be instantaneously solved if helix would just use the value in the file.
I don't want your garbage heuristic, I just want you to leave my file alone and do what I told you.
-
Helix Editor @programming.dev flavonol @lemmy.world Launching Helix with default theme in tmux causes unexpected change in colors
Hi,
I'm new to both using Helix and terminal multiplexers in general, so I'd appreciate some help with this. When I launch Helix without
tmux
, I see the default theme with a purple background, which I like:But when I launch it using
tmux
, even with the-2
flag, Helix does not display the same color scheme:I have tried making a config.toml file with an
[editor]
section and settrue-color
totrue
, but that didn't appear to help. How can I use the default theme withtmux
? I'm using GNOME 47 with wayland on Fedora, in case that matters.Any post I've seen involving Helix, tmux & colors seem to be with custom themes, so I don't know which th
-
Helix Editor @programming.dev lens0021 @lemmy.ml github.com Continue line comments by TornaxO7 Β· Pull Request #10996 Β· helix-editor/helixCloses #1730 Continues #8664 This is my attempt to apply the changes of #4718 to the PR.
-
Helix Editor @programming.dev lens0021 @lemmy.ml Is there a shortcut doing open_below β normal_mode β paste_before?
or should I create my binding in the keymap?
-
Helix Editor @programming.dev uthredii @programming.dev Came out a few days ago, but I thought it was worth posting here =)
-
Helix Editor @programming.dev markstos @lemmy.world medium.com Helix: Setup for MarkdownHelix 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β¦
-
Helix Editor @programming.dev markstos @lemmy.world 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:
undefined
: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 -
Helix Editor @programming.dev vosjedev @lemm.ee 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:
undefined
. βββ 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
-
Helix Editor @programming.dev starman @programming.dev Helix 24.03
Mostly internal changes this time
-
Helix Editor @programming.dev starman @programming.dev 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
-
Helix Editor @programming.dev bugsmith @programming.dev 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 Editor @programming.dev starman @programming.dev Helix now supports GNU Assembler (gas)
github.com add GNU assembler (gas) support #8291) Β· helix-editor/helix@941dc6cA post-modern modal text editor. Contribute to helix-editor/helix development by creating an account on GitHub.
-
Helix Editor @programming.dev xoggy @programming.dev Alternate Helix Editor community
programming.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 Editor @programming.dev starman @programming.dev Helix has just transitioned to Nucleo for fuzzy matching
github.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) -
Helix Editor @programming.dev starman @programming.dev 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.