~gpanders/dotfiles

ref: c8e63bac959db19c138dcc3198a56514f0b444ff dotfiles/.vim/plugin/grep.vim -rw-r--r-- 246 bytes
c8e63bacGreg Anders Manage dotfiles directly in home directory 1 year, 4 months ago
                                                                                
1
2
3
4
5
command! -nargs=+ -complete=file_in_path Grep call grep#grep(0, <q-args>)
command! -nargs=+ -complete=file_in_path LGrep call grep#grep(1, <q-args>)

nnoremap g/ :Grep<space>
nnoremap <silent> g<CR> :<C-U>call grep#grep(0, expand('<cword>'))<CR>