You are here

gVim with Python

3 posts / 0 new
Last post
kemmotar
Offline
Last seen: 12 years 1 month ago
Joined: 2010-06-23 11:48
gVim with Python

How to add to gvim python support?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
python24.dll in path

You'll need to have Python 2.4 and add the directory containing python24.dll to the PATH (see the python-dynamic help).

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

xdhmoore
xdhmoore's picture
Offline
Last seen: 11 years 11 months ago
Joined: 2011-09-05 20:16
How to add dynamically to path?

Is there a way to edit the path portably? I was hoping there was just a gvim setting that would allow me to specify the location of python24.dll, but it looks like adding to the path is the only way.

[Edit]
Way to go for doing this, by the way. I use it all the time. By far my favorite portable app.

[Update]

I realized I could probably figure out how to tweak the launcher.ini in order to change the path. However, I am having trouble getting python-dynamic to show up, even with python27.dll or python26.dll, or python24.dll in the plain-old normal system path.

When I type :version it doesn't show "python\dyn". Are you sure this is possible with this compilation?

I am in the process of checking to see which version of python is supported with the standard compilation for windows. I believe it may be 2.2 based on the Visual Studio make file here: https://code.google.com/p/vim/source/browse/src/Make_mvc.mak

Will post back if 2.2 works.

[Update]

No luck. I believe, based on the link above, that dynamic loading of python might not be defined in the default compilation. Has anyone had any luck with this?

And after I had thought of it,
I said, "I will, then, be a toad."

Log in or register to post comments