summary refs log tree commit diff
path: root/.vim/plugin/fuzz.vim
blob: 0e1cb5546a89c8103972183dba755b72c9df680c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>)