среда, 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 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. Yes I would also like to see something better implemented in C, though my own desire is to only be able to add data to Vim dictionaries using `vim.vimdict` type directly modifying internal vim C struct so that I do not have to use serialization/deserialization which at this point is the slowest part of some operations in one of my plugins. It is also not very convenient because I can't use the fastest built-in `json.dumps` for non-UTF strings (even with it deserialization done by vim using `vim.eval()` is the slowest operation). -- 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