Friday, March 23, 2012

Re: Bash's vi command line editing mode

You want the :cq command, which causes vim to exit with non-zero status.
This makes the shell think something went wrong with the editor, so it
won't execute the command.

No comments: