[Description]
For example, to view a certain help content of Vim, you can :h help-content
. Is it possible to do this when viewing Python-doc?
(I am now viewing Python The help content is all viewed in IPythonhelp-content?
, but this requires opening another shell window)
给我你的怀抱2017-05-16 16:39:35
"python help"
nnoremap <buffer> K :<C-u>let save_isk = &iskeyword \|
\ set iskeyword+=. \|
\ execute "!pydoc " . expand("<cword>") \|
\ let &iskeyword = save_isk<CR>
This is what I use under window. For Linux, the modification should not be big, you can try it.
The key is pydoc
the issue of commands.