Added optional bind

This commit is contained in:
Ellis Kenyo 2015-06-25 21:51:24 +01:00
parent 518fa401cc
commit b67843d640

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>