aboutsummaryrefslogtreecommitdiff
path: root/plugin/buffer_browser.vim
blob: a37f436c92dc7139fef8ad68ea879e3aeb9510ef (plain)
1
2
3
4
5
6
7
8
if exists('g:loaded_buffer_browser') | finish | endif " prevent loading file twice

" 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 g:loaded_buffer_browser = 1