I use vim for editing everything. Occasionally while I have vim open someone else will want to write something for me. (My coworkers explaining code, friends helping me write something/leaving notes for me, etc.) As I'm sure you all know, vim isn't exactly, uhm Intuitive to people who have never used it before.
As soon as they start typing, I watch the visible panic on their face as they realize my text editor is the text editing equivalent of the sonic screwdriver. They have no idea what's happening, and it's flashing, my text is deleted and they've accidentally opened 2 help buffers and the command line history.
Can I make vim act like every other boring text editor for a little while? I know about vim's easy mode:
*-y* *easy*
-y Easy mode. Implied for |evim| and |eview|. Starts with
'insertmode' set and behaves like a click-and-type editor.
This sources the script $VIMRUNTIME/evim.vim. Mappings are
set up to work like most click-and-type editors, see
|evim-keys|. The GUI is started when available.
{not in Vi}
But this doesn't help me because it's only a startup option. I'd love to have a way to keep all my old files open, press a key-combination, and have all vim-like bindings disappear until I press it a second time.
Is there any existing plugin for this? If not, what settings/features should I look into if I were to write my own?
:!nano %
should do it.