.vimrc

changeset 625
dd23d3a0b72c
parent 624
7dff635ab5f9
child 626
9dda9a69e7d1
equal deleted inserted replaced
624:7dff635ab5f9 625:dd23d3a0b72c
104 104
105 " clear all interestingwords with \\k since \K is ri.vim 105 " clear all interestingwords with \\k since \K is ri.vim
106 nmap <silent> <leader><leader>k :call UncolorAllWords()<CR> 106 nmap <silent> <leader><leader>k :call UncolorAllWords()<CR>
107 107
108 " use Ag for a recursive * 108 " use Ag for a recursive *
109 nmap <leader>* :call ag#Ag('grep', '--literal ' . shellescape(expand("<cword>")))<CR> 109 nmap g* :call ag#Ag('grep', '--literal ' . shellescape(expand("<cword>")))<CR>
110 110
111 " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename 111 " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename
112 nmap K :call ViewDoc('doc', expand('<cword>'))<CR> 112 nmap K :call ViewDoc('doc', expand('<cword>'))<CR>
113 nmap gKK :call ViewDoc('doc', expand('%'))<CR> 113 nmap gKK :call ViewDoc('doc', expand('%'))<CR>
114 114

mercurial