summary refs log tree commit diff
path: root/.vim/plugin/fuzz.vim
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-01-26 17:16:07 +0100
committerRobert Günzler <r@gnzler.io>2020-01-26 18:00:59 +0100
commitf5d56602df70950de6b7d40966b00c9939c81763 (patch)
treeb50ffeb5496fe3525cc1bab2629389ced95435b7 /.vim/plugin/fuzz.vim
Intial commit of v2
See https://drewdevault.com/2019/12/30/dotfiles.html
Diffstat (limited to '')
-rw-r--r--.vim/plugin/fuzz.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/.vim/plugin/fuzz.vim b/.vim/plugin/fuzz.vim
new file mode 100644
index 0000000..0e1cb55
--- /dev/null
+++ b/.vim/plugin/fuzz.vim
@@ -0,0 +1,16 @@
+" skip this, we have vim-clap now!!!
+finish
+
+if exists('g:loaded_fuzz')
+  finish
+endif
+let g:loaded_fuzz = 1
+let g:fuzz_prompt = '❯'
+
+nmap <silent> ff :call fuzz#files()<CR>
+nmap <silent> fb :call fuzz#buffers()<CR>
+nmap <silent> fc :call fuzz#commands()<CR>
+nmap <silent> fr :Rg<space>
+
+command! -nargs=* -complete=custom,fuzz#cmdoptions Fuzz :call fuzz#exec(<f-args>)
+command! -nargs=* Rg :call fuzz#rg(<f-args>)