.vimrc

changeset 532
210500a8d0f3
parent 530
64270d166434
child 535
465a3a6c2ff7
equal deleted inserted replaced
531:5c9cdf7fa512 532:210500a8d0f3
128 128
129 " Select last paste 129 " Select last paste
130 map gV `[v`] 130 map gV `[v`]
131 131
132 " clear all interestingwords with \\k since \K is ri.vim 132 " clear all interestingwords with \\k since \K is ri.vim
133 nnoremap <silent> <leader><leader>k :call UncolorAllWords()<CR> 133 nmap <silent> <leader><leader>k :call UncolorAllWords()<CR>
134
135 " use Ag for a recursive *
136 nmap <leader>* :call ag#Ag('grep', '--literal ' . shellescape(expand("<cword>")))<CR>
134 137
135 " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename 138 " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename
136 nmap K :call ViewDoc('doc', expand('<cword>'))<CR> 139 nmap K :call ViewDoc('doc', expand('<cword>'))<CR>
137 nmap gKK :call ViewDoc('doc', expand('%'))<CR> 140 nmap gKK :call ViewDoc('doc', expand('%'))<CR>
138 141

mercurial