Monday, 9 September 2013

Avoiding incorrect invocation trouble with Vim

Avoiding incorrect invocation trouble with Vim

I often use command:
do_something | vim -
to load the output of do_something into Vim. It happens that instead of
vim - I type vim or vim 0 or something else. After that I need to make a
random sequence of blind ^C and :q! to exit the deceived Vim.
Do you have any good recipe to avoid entering Vim with incorrect input
like that?

No comments:

Post a Comment