среда, 14 марта 2012 г. 1:23:00 UTC+4 пользователь Guy Rutenberg написал:
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
On Tue, Mar 13, 2012 at 11:23:00PM +0200, Guy Rutenberg wrote:
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)
Hi Guy,
I don't know of any such interface. It would be great to have it but
you can easily build a wrapper yourself. E.g.:
def expand(expr):
return vim.eval(expand('%s') % expr)
Jan Christoph
On Feb 17, 11:20 am, Guy Rutenberg guyrutenb...@gmail.com wrote:
Hi,
Currently, if one wants
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
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