added K to quit the help window, which makes it easy to toggle the help window

This commit is contained in:
David Halter
2012-09-05 23:39:40 +02:00
parent da5719df59
commit 2848ad9a23

View File

@@ -137,7 +137,11 @@ PYTHONEOF
endif
execute "resize ".l:doc_lines
" quit comands
nnoremap <buffer> q ZQ
nnoremap <buffer> K ZQ
" highlight python code within rst
unlet! b:current_syntax
let l:pythonpath = fnameescape(globpath(&rtp,"syntax/python.vim"))
exe "syn include @rstPythonScript ".l:pythonpath