开发者

A Stop button in VIM

开发者_StackOverflow中文版Often I test a function or click too often on an key on my keyboard. I can't stop the output of the function... I can't stop VIM doing what it is asked to do.

Is there a way to Stop all processes in VIM?


I have asked a similar question recently.

CTRL+C works most of the time to interrupt a long process.

To add a button, see :help toolbar-icon.
It should be something like :amenu icon=[icon-path] Toolbar.Stop <C-C>


You could use ctrl-break on Windows. I do not think it would work well as a button since if Vim is kicking out a lot of output it may not be able to service the GUI functionality fast enough.

On Windows (with mswin.vim) ctrl-break, everywhere else ctrl-c.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜