Skip to content
Make Vim play nicely with iTerm 2 and tmux.
VimL Shell
Find file
Latest commit 4bb8c07 @sjl Update changelog.
Failed to load latest commit information.
doc Update changelog.
plugin Merge.
.hgtags Added tag v1.1.0 for changeset 8db3c10cdef0
LICENSE.markdown Initial commit.
README.markdown Initial commit. Initial commit.



(Vit)ality is a plugin that makes (V)im play nicely with (i)Term 2 and (t)mux.


Vitality restores the FocusLost and FocusGained autocommand functionality. Now Vim can save when iTerm 2 loses focus, even if it's inside tmux!

It also handles switching the cursor to a bar shaped one when in insert mode, and restoring it when not.

Pull requests for other helpful behavior are welcome.

Installation and Usage

Use Pathogen to install.

You shouldn't need to do anything else, but you can read :help vitality if you're curious.



Something went wrong with that request. Please try again.