diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-04 01:32:04 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-04 01:32:04 +0200 |
| commit | 3189c372859c6c807dc86aa8782bacaa3c2826c1 (patch) | |
| tree | 4e50940e070a777b0ed8228ee81564f83aeddcc4 /plugin | |
| download | sniper.vim-3189c372859c6c807dc86aa8782bacaa3c2826c1.tar.gz | |
Engage!
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() |
