Wingide is a beautiful application

sjdevnull at yahoo.com sjdevnull at yahoo.com
Thu Dec 22 00:18:40 EST 2005


Tony Nelson wrote:
> So, you bind check_current_block() to the Enter key?

Yeah.  The binding's not quite just "<C-O>check_current_block()<CR>"
because you need a bit of magic to keep autoindent working.  I'll post
it with my conf files next week, essentially use <C-R>= with an empty
vim function wrapper around the python function (instead of <C-O>) and
input a character before leaving insert mode that's deleted when you
return (to preserve indent).

My goal is to make my conf files into a decent drop-in so you just put
them in your .vim directory and go, and post them next week.




More information about the Python-list mailing list