Hi,

Yuri schrieb am 11.04.2015 um 07:00:
> Once in a while I get into this after accidentally typing the wrong command:
> # vim some-file | some-cmd
> bash:  some-cmd: command not found
> Vim: Warning: Output is not to a terminal
> ^C
> 
> Ctrl-C doesn't kill vim. So I have to press Ctrl-Z and then have to 
> either 'killall vim', or trying to determine what is the pid of vim to kill.
> Is there any way to make it just die on Ctrl-C in such situation?

don't use Ctrl-C, just enter :q like you normally would.

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui