Navigation Menu

Skip to content

Commit

Permalink
Merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjl committed Oct 15, 2016
2 parents ac17cf2 + 980515f commit 07168e2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.markdown
Expand Up @@ -23,6 +23,18 @@ Use Pathogen to install.
You shouldn't need to do anything else, but you can read `:help vitality` if
you're curious.

Note on later versions of tmux (1.9.x or higher)
------------------------------------------------

If you find that `FocusLost` events are not working in later versions of tmux
try adding the following line to your .tmux.conf.

```
set -g focus-events on
```

Don't forget to restart all your tmux sessions for this setting to take effect.

License
-------

Expand Down
7 changes: 7 additions & 0 deletions doc/vitality.txt
Expand Up @@ -67,6 +67,13 @@ You can tweak the behavior of Vitality by setting a few variables in your
let g:vitality_fix_focus = 0
let g:vitality_always_assume_iterm = 1

You might also need to add some configuration to your tmux setup. Later
versions of tmux (>= 1.9) have Focus events disabled by default. Add the
following line to your ~/.tmux.conf and then restart or reload all your tmux
sessions.

set -g focus-events on

------------------------------------------------------------------------------
2.1 g:vitality_fix_cursor *vitality_fix_cursor*

Expand Down

0 comments on commit 07168e2

Please sign in to comment.