Configuration for tmux and screen + vimrc grep improved.

This commit is contained in:
Vahagn Khachatryan
2015-12-04 13:13:27 -05:00
parent f4c28be333
commit 00a78b192a
3 changed files with 33 additions and 1 deletions

View File

@@ -314,7 +314,8 @@ endif
"
" F4 grep the word under cursor.
map <F4> :execute "grep " . expand("<cword>") . " -r *.h *.cpp *.c *.f" <Bar> cw<CR>
"map <F4> :execute "grep " . expand("<cword>") . " -r *.h *.cpp *.c *.f" <Bar> cw<CR>
map <F4> :execute "grep " . expand("<cword>") . " -r --include \*.h --include \*.cpp --include \*.c --include \*.f ." <Bar> cw<CR>
" Create a new tab.
map <silent> <C-F3> :tabnew<CR>
"