pydoc.vim : Integrates pydoc into vim
script karma |
Rating 41/14,
Downloaded by 396 |
created by |
André Kelpe |
|
script type |
utility |
|
description |
This plugin integrates the pydoc-command into (g)vim. You can view the documentation of a module by using :Pydoc foo.bar.baz or search a word (uses pydoc -k) in the documentation by typing :PydocSearch foobar. You can also view the documentation of the word under the cursor by pressing <leader>pw or the WORD (see :help WORD) under the cursor by pressing <leader>pW. This is very useful if you want to jump to the docs of a module which was found by "PydocSearch" or if you want to see the docs of a module in your source code. To have a browser like feeling you can use "u" and "CTRL-r" to go back and forward, just like editing normal text.
If you have ideas of making pydoc.vim better, feel free to contact me. |
|
install details |
Just put "pydoc.vim" into your ~/.vim/plugin directory or source it whenever you want to.
If the pydoc-command is not in your PATH, you can put a line like let g:pydoc_cmd = "/usr/bin/pydoc" in your .vimrc to get it working. |
|
script versions (upload new version)
Click on the package to download.
pydoc.vim |
1.0.6 |
2004-10-08 |
6.0 |
André Kelpe |
Version 1.0.5 contains some debug code (call to "input" twice), this versions removes it. Sorry for that. |
pydoc.vim |
1.0.5 |
2004-10-08 |
6.0 |
André Kelpe |
Small workaround to get pydoc.vim working correctly if "(" is appended to "iskeyword", like in the pydiction setup (https://www.vim8.org/scripts/script.php?script_id=850). Thanks to sertac from #[email protected] for reporting the problem.
If you are using pydiction and pydoc.vim, you should upgrade. |
pydoc.vim |
1.0.4 |
2004-07-16 |
6.0 |
André Kelpe |
Changed the defaut mappings, because many other scripts are using the Function-keys. New mappings are <leader>pw for the current word and <leader>pW for the current Word.
|
pydoc.vim |
1.0.3 |
2004-02-17 |
6.0 |
André Kelpe |
another small bugfix, I hope the last for today!! |
pydoc.vim |
1.0.2 |
2004-02-17 |
6.0 |
André Kelpe |
missing blank in "pydoc -k" fixed |
pydoc.vim |
1.0.1 |
2004-02-16 |
6.0 |
André Kelpe |
This version uses the g:pydoc_cmd variable which makes the script usable if the pydoc command is not in your PATH. This may also work an Windows, but I can't test that. Feedback welcome. Just put a line like
let g:pydoc_cmd = "/usr/bin/pydoc"
into your .vimrc and the scritp will use the specified command.
|
pydoc.vim |
1.0 |
2004-02-12 |
6.0 |
André Kelpe |
Initial upload |
|