fzf.vim
fzf.vim copied to clipboard
how to make GFiles case insensitive
- [x] I have fzf 0.23.0 or above
- [x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [x] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [x] I have read through the manual page of fzf (
man fzf
) - [x] I have searched through the existing issues
Quick question from a vim newbie: how to make :GFiles
case insensitive as in fzf -i
?
:GFiles -i
does not work, so I added -i
to fzf#vim#gitfiles
.
But is there a way to configure it instead of having to change code?
+1
here is my work around:
command! -bang -nargs=? -complete=dir GFiles
\ call fzf#vim#gitfiles(<q-args>, {'options': ['-i']}, <bang>0)
noremap <c-p> :GFiles --others --exclude-standard --cached<cr>