Merge 66cd3002dd
into 23b508e5fd
This commit is contained in:
commit
5dd0c577cb
|
@ -99,6 +99,7 @@ Reload .vimrc and `:PlugInstall` to install plugins.
|
||||||
| `g:plug_shallow` | 1 | Use shallow clone |
|
| `g:plug_shallow` | 1 | Use shallow clone |
|
||||||
| `g:plug_window` | `vertical topleft new` | Command to open plug window |
|
| `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_url_format` | `https://git::@github.com/%s.git` | `printf` format to build repo URL |
|
||||||
|
| `g:plug_quit` | `q` | Key to close the window |
|
||||||
|
|
||||||
### Keybindings
|
### Keybindings
|
||||||
|
|
||||||
|
|
2
plug.vim
2
plug.vim
|
@ -604,7 +604,7 @@ function! s:prepare()
|
||||||
silent %d _
|
silent %d _
|
||||||
else
|
else
|
||||||
call s:new_window()
|
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> R :silent! call <SID>retry()<cr>
|
||||||
nnoremap <silent> <buffer> D :PlugDiff<cr>
|
nnoremap <silent> <buffer> D :PlugDiff<cr>
|
||||||
nnoremap <silent> <buffer> S :PlugStatus<cr>
|
nnoremap <silent> <buffer> S :PlugStatus<cr>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user