by tzhenghao · 3y ago · 0 comments
I went through the whole phase of adding a bunch of plugins, custom macros and have a huge .vimrc file that, once in a while, would break if I was using the wrong vim variant {vi, vim, nvim}. For the sake of this argument, emacs users face some form of the same too.
It got to a point where all my hardcore configurations made my editor experience diverge even further away from the promised "out of the box" experience, and not on par with autocomplete functionalities available in modern IDEs like VSCode.
So now I'm on VSCode. A M1 MacBook can handle it, so I told myself to quit being a masochist, and that itself saves me hours especially navigating a big and complex codebase. But I remember how to use vim, and that comes in handy if I have to SSH into some remote machine and make some tweaks to scripts.
I decided to allow myself as many extra features as I wanted with one caveat: all plugins had to be pure vimscript.
Reproducing an exact dev environment is just a git clone away, because there are no external dependencies outside of vim itself.
This is not very restrictive: you have fuzzy search with Ctrl-P, get full-featured language server support with vim-lsp etc.
This is possible because Vim8+ (released 6 years ago) has a native plugin manager which is very easy to manage via git submodules.
This encapsulates my feelings completely, haha. Both require so much investment and you spend a lot of time with them, just like the pokemon you pick at the beginning.
But vim moves and keybinds are just too good.
If there was a combination that actually worked well, I'd switch in a heartbeat. But so far I haven't encountered an option with all of:
* vim bindings (no compromises)
* great completion / IDE experience
* no configuration
Currently my "pick 2 out of 3" is low config nvim, with bad completion as a result...
Personally, most vim emulations in most editors are "good enough", so I generally use Intellij (Java) or VSCode (everything else) with Vim modes.
I haven't heard that before, but I feel like that's the best way to decribe it.
~~emacs~~ water type pokemon are the best clearly.