I love a good plugin as much as the next guy but that is just unnecessary. All this "plugin" does is source an existing plugin that ships with vim and wraps around it. Might as well do that:
function nan {
nvim \
-c "source \$VIMRUNTIME/ftplugin/man.vim" \
-c "Man $*" \
-c "set number relativenumber readonly|only" \
}
My method even works with neovim! And you don't need to edit your .vimrc/.nvimrc nor does it force any settings on you.
But Vim's not just hjkl. And all those new keys don't exactly help me get stuff done faster.
Sure those F-keys can be useful. If I'd like to change the screen brightness or skip to next song.
Pause/Home/Insert/Print... Half of the time they don't do anything the other half they don't do anything useful. And then there are a bunch of keys that toggle a light and change the behaviour of keys to annoy everyone. Because switching the num block from one duplicated set of functionalities to another greatly increases the available keys!
No wonder 'modern' editors use so many shortcuts. There are simply far more useful functions to perform than keys. Most newer editors go the emacs way and make you press a bunch of modifier keys. Vim makes you go through modes. I prefer to hit easy to reach keys multiple times, but to each his own.
My method even works with neovim! And you don't need to edit your .vimrc/.nvimrc nor does it force any settings on you.
I should put that on my CV.