mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 03:53:47 -05:00
Update FAQ in README: refresh on file save
This commit is contained in:
@@ -470,6 +470,13 @@ Add this to your vim configuration (in an `/after/plugin` directory):
|
|||||||
autocmd! gitgutter CursorHold,CursorHoldI
|
autocmd! gitgutter CursorHold,CursorHoldI
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> I turned off realtime updates, how can I have signs updated when I save a file?
|
||||||
|
|
||||||
|
If you really want to update the signs when you save a file, add this to your vimrc:
|
||||||
|
|
||||||
|
```viml
|
||||||
|
autocmd BufWritePost * GitGutter
|
||||||
|
```
|
||||||
|
|
||||||
> Why can't I unstage staged changes?
|
> Why can't I unstage staged changes?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user