It can be a pain reaching up to the ESC key everytime to exit insert mode in VIm. An alternative that’s built-in by default is Ctrl+[
Archive for August, 2009
Often pasting text into vim from an external source screws up the formatting (especially tabs). To prevent this, do:
Keeping this setting on screws up auto indentation while in insert mode, though. So to turn off, use
command | ./myscript does not work as expected.
./myscript $(command) instead