diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/buffer_browser.vim (renamed from plugin/buffer-browser.vim) | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugin/buffer-browser.vim b/plugin/buffer_browser.vim index dfdb366..a37f436 100644 --- a/plugin/buffer-browser.vim +++ b/plugin/buffer_browser.vim @@ -1,13 +1,8 @@ if exists('g:loaded_buffer_browser') | finish | endif " prevent loading file twice -let s:save_cpo = &cpo " save user coptions -set cpo&vim " reset them to defaults - " command to run our plugin command! BufferBrowserNext lua require'buffer_browser'.next() command! BufferBrowserPrevious lua require'buffer_browser'.prev() +command! BufferBrowserEcho lua require'buffer_browser'.printBrowserHistory() -let &cpo = s:save_cpo " and restore after -unlet s:save_cpo - -let g:loaded_whid = 1 +let g:loaded_buffer_browser = 1 |