Added link to ref for
This commit is contained in:
1
.vimrc
1
.vimrc
@@ -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>
|
||||
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user