Configuration for tmux and screen + vimrc grep improved.
This commit is contained in:
@@ -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>
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user