开发者

Autowrite VIM buffers after <alt-tab>

开发者 https://www.devze.com 2022-12-11 19:05 出处:网络
How can I configure vim to autowrite 开发者_StackOverflow社区buffers after switching with alt-tab to another application?You want:

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

精彩评论

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