diff options
author | Marc Coquand <marc@baemingo.com> | 2023-05-19 14:25:31 -0500 |
---|---|---|
committer | Marc Coquand <marc@baemingo.com> | 2023-05-19 14:25:31 -0500 |
commit | e406288adc8a70197730569c4da3e8c61d24e47d (patch) | |
tree | 4a3763cf19af65d9d90a2e54cbf0ece2aa37ce2e /plugin/buffer_browser.vim | |
parent | 63ff0bedaa55a6b2957e958ee727bd524b280143 (diff) | |
download | BufferBrowser-e406288adc8a70197730569c4da3e8c61d24e47d.tar.gz BufferBrowser-e406288adc8a70197730569c4da3e8c61d24e47d.tar.bz2 BufferBrowser-e406288adc8a70197730569c4da3e8c61d24e47d.zip |
Initial version
Diffstat (limited to 'plugin/buffer_browser.vim')
-rw-r--r-- | plugin/buffer_browser.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugin/buffer_browser.vim b/plugin/buffer_browser.vim new file mode 100644 index 0000000..a37f436 --- /dev/null +++ b/plugin/buffer_browser.vim @@ -0,0 +1,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 |