When using Vim to write Python programs under Linux, can "query the help content of Python, that is, Python-doc" be done like "vim-doc"?
淡淡烟草味
淡淡烟草味 2017-05-16 16:37:35
0
2
790

[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)

淡淡烟草味
淡淡烟草味

reply all(2)
淡淡烟草味

Recommend you to use
vim-ref

给我你的怀抱
"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 pydocthe issue of commands.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template