开发者

Autowrite when changing tab in vim

开发者 https://www.devze.com 2023-01-18 03:29 出处:网络
\"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 t

"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

0

精彩评论

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