开发者

Autowrite VIM buffers after <alt-tab>

How can I configure vim to autowrite 开发者_StackOverflow社区buffers after switching with alt-tab to another application?


You want:

autocmd FocusLost * :wall

In your .vimrc

I just tried it and it seems to work.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜