Python Vim Module - works

simonb at simonb at
Wed Nov 14 01:19:00 CET 2001

Well this sounds interesting...

i compiled vim60 with
CONF_OPT_PYTHON = --enable-pythoninterp
in the Makefile,
but "import vim" fails.
what next?

Simon Burton

Jonathan Gardner wrote:

>I got it all to work. Thanks to a contribution by Tomas Zellerin, and a few 
>more hacks, I think it all looks good.
>I need some help to make it professional.
>It's 2:00 AM here in Seoul, so I won't be getting any answers out for a few 
>hours... =)
>If you can get it to compile (just edit the Makefile to make it point to 
>the right place...) try this with Vim 6.0:
>$ gvim --servername TEST
>$ python
>>>>import vim
>>>>vim.send('TEST', 'iHello World!<ESC>')
>You should see the string "Hello World!" neatly typed into the newly opened 
>vim window!!!
>Sorry, X11 only right now...
>[ Note: This was cross-posted to vim-dev and python-list so I can go to bed 
>sooner... ]

More information about the Python-list mailing list