vi % alternive command

Matthew D. Wood woodm at equire.com
Thu Aug 23 00:11:21 CEST 2001


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 :
http://vim.sf.net/scripts/script.php?script_id=30

but I don't think it works like I would like it to.

But that's about it.


Curtis Jensen wrote:

> Hello all,
> 
> In vi the "%" command will jump to the closing or openeing (,{,[, etc. 
> This is helpful to find the end of blocks (if blocks, function blocks,
> etc).  Has anyone figured out and equivalent commend for vi/vim to jump
> to the end/beginning of a block?  Thanks.
> 





More information about the Python-list mailing list