this post was submitted on 01 Jul 2023
52 points (100.0% liked)
Programming
13418 readers
1 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It is really a good idea to learn vim. It’s everywhere, particularly useful when connecting to remote servers.
In order to use it for all your development needs, you’ll probably resort to multiple plugins. The advantage: wizardry, the disadvantage: you get used to it, and won’t work on vanilla remote installations.
I like to use vim for every day scripts and remote text editing, while using helix as main code editor.
Helix is not yet as popular, but it comes with batteries included. Many of the plugins that you’d install in vim come as a feature in helix. It is also a modal editor, and it varies slightly in it’s use, but a nice addon to your toolbelt.
Seconding the recommendation for Helix.
As you noted, it’s batteries-included. For me, the hard part of using vim/Neovim is choosing and configuring all of the plugins that you need to have an IDE-like experience. Helix doesn’t have a plugin system, so it’s not as powerful or flexible as Neovim, but it gives you 90% of the features of a fully-configured Neovim setup with 10% of the work.
I also like Helix’s approach to modal editing. It’s a little more intuitive to use motions and then actions (e.g. select the next 3 words, delete them) than the other way around.
I use tmux instead of a bunch of vim plugins. What I can't do inside the editor, I hop over to the other half of the terminal to do with tools in bash. The great part is that tmux can run in just about all the places vim can, and you also run ssh within it instead of the reverse. Whereas getting all your vim plugins onto each server you want to work in is a major PITA.
You can get a similar experience with a split vim screen and the
:term
command, but tmux offers more versatility IMX.I can recommend Helix as well, just be aware that it's still in active development. Dropping the link for the lazy: https://helix-editor.com/
Helix is awesome - I'm very much a fan of having a usable editor right out of the gate after install.