Skip to content

Instantly share code, notes, and snippets.

View hrfuller's full-sized avatar

Henry Fuller hrfuller

  • San Francisco, CA
View GitHub Profile
@hrfuller
hrfuller / .vimrc
Created April 3, 2020 18:48
Setting up vim fzf with ripgrep
" 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(