,gd alias for git-grepping a ruby function definition
This commit is contained in:
@@ -18,3 +18,6 @@ vnoremap K :<C-U>execute GitGrep(GetVisual())<CR>
|
||||
"git grep current word up to the next exclamation point using ,K
|
||||
nnoremap ,K viwf!:<C-U>execute GitGrep(GetVisual())<CR>
|
||||
|
||||
"grep for 'def foo'
|
||||
nnoremap <silent> ,gd :GitGrep 'def <cword>'<CR>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user