I don't think helix will ever catch up to a lot of vims lesser know features of which there are a lot. I think that's by design as well, I think that helix wants to have a smaller surface area than vim and for a lot of people that will be the right choice. I personaly use ex-commands for example, or the quickfixlist fairly often so for me I have a hard time imagining helix not feeling like a step down power-wise (as nice as multiple cursors are).
- Posts
- 1
- Comments
- 273
- Joined
- 3 yr. ago
- Posts
- 1
- Comments
- 273
- Joined
- 3 yr. ago
- JumpDeleted
Bluesky is ready to open up
- JumpDeleted
Bluesky is ready to open up
Multiple cursors are a lot better than
:sfor you standard search and replace, unless you have a really big file at which point helix gets to slow (which isn't that common) but there are a lot of other stuff you can do with ex commands.I use
:makepretty often, vim ships with the ability to parse a lot of compiler/linter outputs out of the box so if you tell it which one with:compileryou get build errors in the quickfix list. I also use:grepa lot. You can do<space>/to grep in helix but I often find that I want to add command line options to only search in specific directories or for specific file types (we have a large codebase at work). Being able to filter results with:Cfilter, and being able to go back to old quickfix results with:colderis also really nice. Finally, you can use:cdoto apply ex commands to stuff you've matched in the quickfix list.As an example, if you get a build error because you've renamed a variable in one file but not the places it gets referenced in other files, you can
:maketo get the build errors in you quickfix list,:Cfilterto narrow it down to only that specific class of error if needed and then do:cdo s/oldName/newName/gto rename the variable in all places that cause errors. You can then go back to the list of all errors with:colderand handle other errors in another way if needed.I'll have to admit that I don't do this that often so honestly I wouldn't lose out on that much switching to helix (after it gets proper plugin support and someone makes a decent replacement for the fugitive git plugin) but I would feel less powerful not knowing that I have those tools up my sleave lol.