Document how to disable realtime updates.

This commit is contained in:
Andy Stewart
2018-02-19 14:31:59 +00:00
parent 38a7789be9
commit 4692457ae2
2 changed files with 19 additions and 3 deletions

View File

@@ -462,6 +462,16 @@ nmap <silent> [c :call PrevHunkAllBuffers()<CR>
### FAQ
> How can I turn off realtime updates?
Add this to your vim configuration (in an `/after/plugin` directory):
```viml
" .vim/after/plugin/gitgutter.vim
autocmd! gitgutter CursorHold,CursorHoldI
```
> Why can't I unstage staged changes?
This plugin is for showing changes between the working tree and the index (and staging/undoing those changes). Unstaging a staged hunk would require showing changes between the index and HEAD, which is out of scope.