diff --git a/.vimrc b/.vimrc index 0c6c4f6..d8c41e3 100644 --- a/.vimrc +++ b/.vimrc @@ -251,6 +251,7 @@ map :Files " g to open FZF Git files map g :GFiles " Map f to open FZF with word under cursor pre-populated +" https://github.com/junegunn/fzf.vim/issues/1235#issuecomment-773726008 nnoremap f :call fzf#run(fzf#vim#with_preview(fzf#wrap({'source': 'find . \( -name .git -o -name .stversions \) -prune -o -print -iname "*'.expand("").'*"', 'sink': 'e', 'options': '--query="'.expand("").'"'}))) " ---------------------------------------------------------------------------------------------------------------------