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.
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.
精彩评论