I have been trying to setup the shell version of vim to save any changed files when the shell window loses focus.
Following these instructions does not work.
Even though I am using OS X, I figure this may be something that affects vim running on Linux as well. Could be wrong, but I thought I'd also try on here as well as apple.stackexchange.com.
Am I to assume that maybe the reason why this does not work for a command line version of vim is because it's only intended to work with GUI versions, i.e. MacVim?
Is there a way to get this to work for a shell version of vim?
I'm using the latest version of vim available in homebrew.