"autowrite" doesn't seem to work when switching tab in vim.
Is there a way to enable it?
开发者_如何学C(I could remap 'gt' and 'gT' but I'd like to find a cleaner way).
Maybe use an autocmd to run w on BufWinLeave
"autowrite" doesn't seem to work when switching tab in vim.
Is there a way to enable it?
开发者_如何学C(I could remap 'gt' and 'gT' but I'd like to find a cleaner way).
Maybe use an autocmd to run w on BufWinLeave
精彩评论