vi % alternive command

Peter Hansen peter at
Thu Aug 23 09:07:18 CEST 2001

"Matthew D. Wood" wrote:
> Um...  Not quite, but sort of.
> you can use your open lines as a sort of cheat.  for instance '}' should
> move you to the next empty line.  Thus, >} will indent the rest of the
> section you're in.  Unfortunately, it doesn't work as well as you would
> like.
> There was a VIM script at :
> but I don't think it works like I would like it to.

Maybe somebody could reimplement the script using the Python
scripted version of VIM, thus not only solving the problem
of the OP, but also preventing this from being a completely
off-topic thread.... (?)

Peter Hansen, P.Eng.
peter at

More information about the Python-list mailing list