I use Vim in a tmux session, and recently I've noticed that Vim is raising an alert after a few seconds when I switch to another tmux window. Nothing has happened in Vim after I move windows - usually I do some edits and write the file with
:w and then move in tmux. A few seconds later Vim alerts and tmux flashes that Vim needs attention.
Why is Vim being so needy? How can I prevent this?
:au FocusLost as requested:
:au FocusLost --- Auto-Commands --- Press ENTER or type command to continue
Using versions Vim 7.3 and tmux 1.6. This whole thing is happening when in an SSH session where tmux is running. I switch away from the Vim window using tmux keys
Ctrl+N as per the tmux conf.