# HG changeset patch # User Meredith Howard # Date 1553124349 18000 # Node ID 96ce87777789e69e47b1489325ecb57a781514fa # Parent 36a4da0a98636cde24dce39c528b9ea55aa21d6d Use full path for gKK doc 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