eolo999
eolo999

Reputation: 893

Autowrite when changing tab in vim

"autowrite" doesn't seem to work when switching tab in vim.

Is there a way to enable it?

(I could remap 'gt' and 'gT' but I'd like to find a cleaner way).

Upvotes: 0

Views: 366

Answers (1)

Benoit
Benoit

Reputation: 79233

Maybe use an autocmd to run w on BufWinLeave

Upvotes: 2

Related Questions