diff --git a/.vimrc b/.vimrc --- a/.vimrc +++ b/.vimrc @@ -110,9 +110,9 @@ nnoremap k :cal " use Ag for a recursive * nnoremap g* :call ag#Ag('grep', '--literal ' . shellescape(expand(""))) -" K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename +" K: doc, gKK: doc current filename nnoremap K :call ViewDoc('doc', expand('')) -nnoremap gKK :call ViewDoc('doc', expand('%')) +nnoremap gKK :call ViewDoc('doc', expand('%:p')) " Tabular shortcuts noremap ta :Tabularize first_arrow