Hi Jan

On Tue, Mar 13, 2012 at 7:45 PM, Jan Christoph Ebersbach <
janchristoph.ebersb...@googlemail.com> wrote:

>
> you can easily build a wrapper yourself. E.g.:
>
> def expand(expr):
>    return vim.eval("expand('%s')" % expr)
>
>
Actually that the thing I'm trying to avoid. I got those kind of snippets
expanding different types of "<cwords>" etc repeated themself time after
time between each little vim script I'm writing. Interacting with vim is
tedious via python, and I'm looking for way to make it easier.

By now, and given you're the only one to reply so far, I guess such
library/interface is indeed missing. So I guess it would be nice to ask
people who write scripts for vim, if such library exists, will you use it?
How much do you reckon a good "pythonic" interface is needed?

I'm trying to understand whether putting an effort and writing something
will indeed be useful, or it would be more wise to concentrate on using the
current interface.

Regards,

Guy

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui