From e5936a22cfd2e25893e2ac34af4b0afdec1e36f5 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Wed, 15 May 2019 16:27:17 +0100 Subject: [PATCH] Fix tmux command. --- README.mkd | 4 ++-- doc/gitgutter.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.mkd b/README.mkd index aa5bf22..4749f21 100644 --- a/README.mkd +++ b/README.mkd @@ -26,7 +26,7 @@ Features: Constraints: * Supports git only. If you work with other version control systems, I recommend [vim-signify](https://github.com/mhinz/vim-signify). -* Relies on the `FocusGained` event. If your terminal doesn't report focus events, either use something like [Terminus][] or set `let g:gitgutter_terminal_reports_focus=0`. For tmux, `set -f focus-events` in your tmux.conf. +* Relies on the `FocusGained` event. If your terminal doesn't report focus events, either use something like [Terminus][] or set `let g:gitgutter_terminal_reports_focus=0`. For tmux, `set -f focus-events on` in your tmux.conf. ### Screenshot @@ -557,7 +557,7 @@ Here are some things you can check: #### When signs don't update after focusing Vim -* Your terminal probably isn't reporting focus events. Either try installing [Terminus][] or set `let g:gitgutter_terminal_reports_focus=0`. For tmux, try `set -f focus-events` in your tmux.conf. +* Your terminal probably isn't reporting focus events. Either try installing [Terminus][] or set `let g:gitgutter_terminal_reports_focus=0`. For tmux, try `set -f focus-events on` in your tmux.conf. ### Shameless Plug diff --git a/doc/gitgutter.txt b/doc/gitgutter.txt index 05f436e..7d5377f 100644 --- a/doc/gitgutter.txt +++ b/doc/gitgutter.txt @@ -398,7 +398,7 @@ option to 0. If you use tmux, try this in your tmux.conf: > - set -g focus-events + set -g focus-events on < When this option is 0, the plugin force-updates the buffer on |BufEnter|