Saturday, November 9, 2013

Re: Bash's vi command line editing mode

On 11/08/2013 07:24 PM, Gary Johnson wrote:
>> After :wq or even after :q! bash tried to execute the
>> command (and complained, because it was a nonsense command).

Bash executes the command if the editor returns with success; to
avoid execution, you can use Vim's :cq command, which is like
:qall! except that the exit status will be non-zero.

Michael Henry

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: