by nirui · 5y ago · 0 comments
For me, learning vim is like learning an foreign language, a few hundred words (or few hotkey/:commands for vim) can get you started, but it's not easy to reach the level of native speakers, and some old rules in your language (for example, HJKL keys in vim vs the "natural" arrow keys) will interfere your progress.
Maybe I'm going to piss many people off here, but vim is not an user-friendly text editor. An user friendly editor should pop some kind of prompt when I pressed the first g/G key and show me what I could press the next, not telling me to read :help (which probably has the volume of a dictionary at this point).
Based on my 2 minutes with Micro and the information I read from it's `help defaultkeys`, the size of it's hotkeys are more healthy and manageable. So that's a plus from me.
See vim-which-key [1] and which-key.nvim [2] for something similar to this.
You can use something like LunarVim which has everything already setup.
But being able to edit using Vim at all is very very useful to edit files on servers, which happens very often in various situations.
For anyone that wants this: these kinds of plugins are usually called "which key" after the Emacs mode. Most of the Emacs distros ship with which-key by default and it works very well with evil.
I get the sense that they're less popular on the Vim end, though I'm not sure why.
You might be interested in the Kakoune editor. Despite being superficiality similar it's not Vim compatible, which may make it a nonstarter, and it has its own flaws that keep me from using it, but it makes a point of showing on-screen help for almost every command as you're typing.
... Does not compute.