This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" need ripgrep and fzf installed. Both these plugins are needed by vim. | |
Plugin 'junegunn/fzf' | |
Plugin 'junegunn/fzf.vim' | |
" Map ctrl-p to FZF | |
nnoremap <silent> <C-p> :GFiles <CR> | |
"Quick ripgrep word under cursor | |
command! -bang -nargs=0 RgCWord | |
\ call fzf#vim#grep( |