Object Oriented Python Interface

2012-02-17 Thread Guy Rutenberg
Hi, Currently, if one wants to extend vim's functionality using python, he also has to learn considerable amount of Vim Script, which in my opinion isn't ideal. The vim module provides only basic python interface, which doesn't feel "pythonic". For many things one has to use Vim Scripts inside the

Re: Object Oriented Python Interface

2012-03-13 Thread Guy Rutenberg
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

Re: Object Oriented Python Interface

2012-03-18 Thread Guy Rutenberg
Hi 2012/3/15 ZyX > Yes I would also like to see something better implemented in C I agree with you and lilydjwg. In the long run it would be great if extending vim with python would be just as easy and fast as using Vim Script. I don't have any experience with Vim's codebase, so I don't know h