less awkward map

Tue, 25 Jul 2017 17:43:17 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 25 Jul 2017 17:43:17 -0400
changeset 625
dd23d3a0b72c
parent 624
7dff635ab5f9
child 626
9dda9a69e7d1

less awkward map

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -106,7 +106,7 @@ nmap g<C-]> :call vimrc#Ltag(expand('<cw
 nmap <silent> <leader><leader>k :call UncolorAllWords()<CR>
 
 " use Ag for a recursive *
-nmap <leader>* :call ag#Ag('grep', '--literal ' . shellescape(expand("<cword>")))<CR>
+nmap g* :call ag#Ag('grep', '--literal ' . shellescape(expand("<cword>")))<CR>
 
 " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename
 nmap K   :call ViewDoc('doc', expand('<cword>'))<CR>

mercurial