diff --git a/plugin/spelunker.vim b/plugin/spelunker.vim index 0c49398..44642b3 100644 --- a/plugin/spelunker.vim +++ b/plugin/spelunker.vim @@ -242,6 +242,12 @@ if !hasmapto('(spelunker-toggle)') silent! nmap ZT (spelunker-toggle) endif +" [toggle in the buffer feature]=============================================================== +nnoremap (spelunker-toggle-buffer) :call spelunker#toggle_buffer() +if !hasmapto('(spelunker-toggle-buffer)') + silent! nmap Zt (spelunker-toggle-buffer) +endif + " [augroup] ================================================================== if g:spelunker_disable_auto_group == 0 augroup spelunker