diff --git a/.vimrc b/.vimrc --- a/.vimrc +++ b/.vimrc @@ -130,7 +130,10 @@ nmap gb map gV `[v`] " clear all interestingwords with \\k since \K is ri.vim -nnoremap k :call UncolorAllWords() +nmap k :call UncolorAllWords() + +" use Ag for a recursive * +nmap * :call ag#Ag('grep', '--literal ' . shellescape(expand(""))) " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename nmap K :call ViewDoc('doc', expand(''))