Added link to ref for

This commit is contained in:
2024-04-23 19:40:25 -04:00
parent 91e5cd5405
commit 67569b9a13

1
.vimrc
View File

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