sponsor Vim development Vim logo Vim Book Ad

Python Documentation : Python Documentation in Vim

 script karma  Rating 1/7, Downloaded by 1195  Comments, bugs, improvements  Vim wiki

created by
Travis Jeffery
 
script type
ftplugin
 
description
Shows Python documentation inside Vim either use the function :Pyhelp module, OR select the module in visual mode and then either use the map pw or the function :PyHelp.

Currently only works for stuff like os.path.abspath (complete modules not as variables) for example doing g = os.path and then trying to find the documentation for g.abspath won't work. So in the future I'd like that to work.
 
install details
Move to your ~/.vim/ftplugin/python or ~/.vim/plugin if you want it loaded for all filetypes/modes.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
pyhelp.vim 2.0 2008-12-13 7.0 Travis Jeffery Complete rewrite. Now works by doing K while the cursor is over stuff like "\n".join(string), or even when you create a variable ie my_str = "\n".join(string) and then putting the cursor over s and doing K
pyhelp.vim 1.0 2008-11-15 7.0 Travis Jeffery Initial upload
ip used for rating: 3.141.47.221

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github