mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 19:44:52 +08:00
added K to quit the help window, which makes it easy to toggle the help window
This commit is contained in:
4
jedi.vim
4
jedi.vim
@@ -137,7 +137,11 @@ PYTHONEOF
|
|||||||
endif
|
endif
|
||||||
execute "resize ".l:doc_lines
|
execute "resize ".l:doc_lines
|
||||||
|
|
||||||
|
" quit comands
|
||||||
nnoremap <buffer> q ZQ
|
nnoremap <buffer> q ZQ
|
||||||
|
nnoremap <buffer> K ZQ
|
||||||
|
|
||||||
|
" highlight python code within rst
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
let l:pythonpath = fnameescape(globpath(&rtp,"syntax/python.vim"))
|
let l:pythonpath = fnameescape(globpath(&rtp,"syntax/python.vim"))
|
||||||
exe "syn include @rstPythonScript ".l:pythonpath
|
exe "syn include @rstPythonScript ".l:pythonpath
|
||||||
|
|||||||
Reference in New Issue
Block a user