fix g*

Thu, 03 Oct 2019 01:41:04 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 03 Oct 2019 01:41:04 -0500
changeset 796
60dfac971a99
parent 795
b6105413b6b7
child 797
41e248a8a6f7

fix g*

.vimrc file | annotate | diff | comparison | revisions
--- 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