On 6/26/20 1:13 AM, Jan Kratochvil wrote:
On Fri, 26 Jun 2020 09:40:32 +0200, Samuel Sieb wrote:
> That's only if you start vi without a file. Otherwise, you just get the
> text of the file on the screen and the bottom line with the filename and
> cursor position. No info at all about what just happened.
OK, I agree. So what about instead of nano to do:
cat >>~/.vimrc <<EOH
set laststatus=2
set statusline=Press\ \'i\'\ to\ start\ typing,\ \'<escape>:x\'\
to\ save\ file,\ \'<escape>:q!\'\ to\ quit.
EOH
It is the most user friendly solution (plus the system still remains to be
a UNIX!).
If you're going to say that you have to use vim for it to be unix,
you're going to start another war with the emacs users. :-)
The most user friendly solution is to have nano by default with a very
easy way to revert to vim for anyone that knows what they are doing.