diff options
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/sniper.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugin/sniper.vim b/plugin/sniper.vim new file mode 100644 index 0000000..50e5f96 --- /dev/null +++ b/plugin/sniper.vim @@ -0,0 +1,13 @@ +nnoremap <silent> <S-F1> :call sniper#StoreBuffer(1)<CR> +nnoremap <silent> <S-F2> :call sniper#StoreBuffer(2)<CR> +nnoremap <silent> <S-F3> :call sniper#StoreBuffer(3)<CR> +nnoremap <silent> <S-F4> :call sniper#StoreBuffer(4)<CR> + +nnoremap <silent> <F1> :call sniper#RecallBuffer(1)<CR> +nnoremap <silent> <F2> :call sniper#RecallBuffer(2)<CR> +nnoremap <silent> <F3> :call sniper#RecallBuffer(3)<CR> +nnoremap <silent> <F4> :call sniper#RecallBuffer(4)<CR> + +nnoremap <silent> <F5> :call sniper#ListBuffers()<CR> + +command! SniperList call sniper#ListBuffers() |
