Notes on Ubuntu (Linux) computing

Brief notes on installation, setup and other tasks in the Ubuntu world

Install jedi vim plugin

with 4 comments

The jedi plugin will allow nice autocomplete features when developing Python code. First we install the python package using pip

sudo pip install jedi

Next, we install the jedi plugin for vim using pathogen

cd ~/.vim/bundle
git clone https://github.com/davidhalter/jedi-vim.git

To take advantage of new powers, try these basic commands

  1. cntrl-space — autocomplete partially type function/class and see args
  2. shift-k — use pydoc to find function/class documentation
Advertisements

Written by Chris S

April 12, 2013 at 9:24 pm

Posted in Uncategorized

4 Responses

Subscribe to comments with RSS.

  1. How can I install jedi-vim without using pathogen?
    I think the first step is the same. But what then?

    psydmor

    May 15, 2013 at 6:52 pm

    • Hi psydmor,

      I don’t install vim plugins without pathogen, but the vim documentation suggests that having the code in the proper path is all you need. See:
      plugin docs for vim. This suggests putting plugins in .vim/plugins instead of .vim/bundle that I used for a pathogen setup.

      If you are still having trouble contact David Halter, the developer of jedi-vim, directly for install directions that don’t use pathogen.

      Chris S

      May 27, 2013 at 5:17 pm

  2. Great tutorial! Thanks a lot!

    Estevao

    July 20, 2013 at 6:25 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: