main
Steffen Rademacker 3 years ago
parent 6c7d8df782
commit 91239ec0fc

@ -935,7 +935,7 @@ function! s:prepare(...)
call s:new_window()
endif
nnoremap <silent> <buffer> q :if b:plug_preview==1<bar>pc<bar>endif<bar>bd<cr>
nnoremap <silent> <buffer> q :call <SID>close_pane()<cr>
if a:0 == 0
call s:finish_bindings()
endif
@ -957,6 +957,15 @@ function! s:prepare(...)
endif
endfunction
function! s:close_pane()
if b:plug_preview == 1
pc
let b:plug_preview = -1
else
bd
endif
endfunction
function! s:assign_name()
" Assign buffer name
let prefix = '[Plugins]'

@ -1 +1 @@
Subproject commit c7baec49d3e044121f7a37b65a84461ef8dac2de
Subproject commit aa98bc593fee3fbdaf1acedc42a142f3c4134079

@ -1 +1 @@
Subproject commit 5eb494852ebb99cf5c2c2bffee6b74e6f1bf38d0
Subproject commit 205bc7ea199cfd4cded51d465baad63b3d7f3aad
Loading…
Cancel
Save