Use full path for gKK doc

Wed, 20 Mar 2019 18:25:49 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 20 Mar 2019 18:25:49 -0500
changeset 751
96ce87777789
parent 750
36a4da0a9863
child 752
bdbfa576e84f

Use full path for gKK doc

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -110,9 +110,9 @@ nnoremap <silent> <leader><leader>k :cal
 " use Ag for a recursive *
 nnoremap g* :call ag#Ag('grep', '--literal ' . shellescape(expand("<cword>")))<CR>
 
-" 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('<cword>'))<CR>
-nnoremap gKK :call ViewDoc('doc', expand('%'))<CR>
+nnoremap gKK :call ViewDoc('doc', expand('%:p'))<CR>
 
 " Tabular shortcuts
 noremap <leader>ta :Tabularize first_arrow<CR>

mercurial