Using vim in server mode with ipython

James Stroud jstroud at mbi.ucla.edu
Fri Sep 29 00:15:39 EDT 2006


Hello,

I found this page:

http://projects.scipy.org/ipython/ipython/wiki/CookBook#Usinggviminservermode

But it does not seem to work for me. I set the editor in ipythonrc to 
gvim. Then I followed the instructions, step by step. To needlessly 
paraphrase the instructions:

       [0. I started gvim with "gvim --servername ipython"]
        1. I put the ipythonhooks.py in my $PYTHONPATH
        2. I cranked up ipython
        3. I imported ipythonhooks and set the hook
       [4. I started gvim with "gvim --servername ipython"]
           (if not done at step 0)
        5. I called %edit from ipython

At which point ipython took me to a new gvi window (and process).

What am I not doing that doesn't seem to be in the instructions?

James

-- 
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/



More information about the Python-list mailing list