This commit is contained in:
Ellis kenyo 2015-06-25 20:53:48 +00:00
commit 5dd0c577cb
2 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@ Reload .vimrc and `:PlugInstall` to install plugins.
| `g:plug_shallow` | 1 | Use shallow clone |
| `g:plug_window` | `vertical topleft new` | Command to open plug window |
| `g:plug_url_format` | `https://git::@github.com/%s.git` | `printf` format to build repo URL |
| `g:plug_quit` | `q` | Key to close the window |
### Keybindings

View File

@ -604,7 +604,7 @@ function! s:prepare()
silent %d _
else
call s:new_window()
nnoremap <silent> <buffer> q :if b:plug_preview==1<bar>pc<bar>endif<bar>echo<bar>q<cr>
execute 'nnoremap <silent> <buffer> ' . get(g:, 'plug_quit', 'q') . ' :if b:plug_preview==1<bar>pc<bar>endif<bar>echo<bar>q<cr>'
nnoremap <silent> <buffer> R :silent! call <SID>retry()<cr>
nnoremap <silent> <buffer> D :PlugDiff<cr>
nnoremap <silent> <buffer> S :PlugStatus<cr>