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. -- http://mail.python.org/mailman/listinfo/python-list