.vimrc

changeset 796
60dfac971a99
parent 794
152f0c95cbb0
child 799
52ff7c31cc8b
--- a/.vimrc
+++ b/.vimrc
@@ -104,7 +104,7 @@ nnoremap g<C-]> :call vimrc#Ltag(expand(
 nnoremap <silent> <leader><leader>k :call UncolorAllWords()<CR>
 
 " use Ag for a recursive *
-nnoremap g* :call ag#Ag('grep', '--literal ' . shellescape(expand("<cword>")))<CR>
+nnoremap g* :Ag <cword><CR>
 
 " K: doc, gKK: doc current filename
 nnoremap gKK :call ViewDoc('doc', expand('%:p'))<CR>

mercurial