Jedipydoc is a Vim plugin that allows showing the Pydoc documentation of the item under the cursor: In a new tab (default) or in a horizontal split.
Default key mapping: <Leader>K
.
Vim-jedipydoc Git repository: https://github.com/jamescherti/vim-jedipydoc
- Author: James Cherti
- License: MIT
Jedipydoc requires the Vim plugin Jedi-vim.
Add the following lines to your ~/.vimrc if you wish to use the same key mapping as Jedi-vim:
let g:jedipydoc_documentation_command = 'K'
let g:jedi#documentation_command = '<Leader>K'
Documentation is available in your vim: :help jedipydoc
.
bash
mkdir -p ~/.vim/pack/jamescherti/start
cd ~/.vim/pack/jamescherti/start
git clone --depth 1 https://github.com/jamescherti/vim-jedipydoc
vim -u NONE -c "helptags vim-jedipydoc/doc" -c q
You might want to use pathogen or Vundle to install jedipydoc.
The first thing you need after that is an up-to-date version of Jedi. Install
git submodule update --init --recursive
in your jedipydoc repository.
Example installation command using Pathogen:
git clone --recursive https://github.com/jamescherti/jedipydoc.git ~/.vim/bundle/jedipydoc