summary refs log tree commit diff
path: root/.vim/plugin/fuzz.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/plugin/fuzz.vim')
-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>)