Add note to readme about preview window location.

This commit is contained in:
Andy Stewart
2019-08-08 16:33:47 +01:00
parent e564c28b6a
commit ed4d8bec89

View File

@@ -180,7 +180,7 @@ nmap <Leader>ha <Plug>GitGutterStageHunk
nmap <Leader>hr <Plug>GitGutterUndoHunk nmap <Leader>hr <Plug>GitGutterUndoHunk
``` ```
And you can preview a hunk's changes with `<Leader>hp`. You can of course change this mapping, e.g: And you can preview a hunk's changes with `<Leader>hp`. The location of the preview window is configured with `g:gitgutter_preview_win_location` (default `'bo'`). You can of course change this mapping, e.g:
```viml ```viml
nmap <Leader>hv <Plug>GitGutterPreviewHunk nmap <Leader>hv <Plug>GitGutterPreviewHunk