mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-10 20:43:47 -05:00
Document 'updatetime' and 'signcolumn' more prominently
This commit is contained in:
@@ -41,7 +41,8 @@ one in 2013.
|
||||
===============================================================================
|
||||
INSTALLATION *gitgutter-installation*
|
||||
|
||||
Use your favourite package manager, or use Vim's built-in package support.
|
||||
First, use your favourite package manager, or use Vim's built-in package
|
||||
support.
|
||||
|
||||
Vim:~
|
||||
>
|
||||
@@ -59,6 +60,16 @@ Neovim:~
|
||||
nvim -u NONE -c "helptags vim-gitgutter/doc" -c q
|
||||
<
|
||||
|
||||
Second, ensure your 'updatetime' and 'signcolumn' options are set appropriately.
|
||||
|
||||
When you make a change to a file tracked by git, the diff markers should
|
||||
appear automatically after a short delay. The delay is governed by vim's
|
||||
'updatetime' option; the default value is `4000`, i.e. 4 seconds, but I
|
||||
suggest reducing it to around 100ms (add `set updatetime=100` to your vimrc).
|
||||
Note 'updatetime' also controls the delay before vim writes its swap file.
|
||||
|
||||
The 'signcolumn' option can have any value except "off".
|
||||
|
||||
|
||||
===============================================================================
|
||||
WINDOWS *gitgutter-windows*
|
||||
|
||||
Reference in New Issue
Block a user