VIM: Python type indented-block command equivalent to % for C?

Paddy3118 paddy3118 at googlemail.com
Thu Mar 8 00:02:06 EST 2007


  Not python:
    but python type
    indented text

    Notice the blank line above.
    It could have several
    spaces or tabs, and still
    be a part of the block
    beginning 'Not python:':
      The block ends at the
      first non-blank line
      with less indent.

Assuming that only space characters are allowed
for indenting, is their a way to yank a Python
block like y% works for C , or a way to move to
the end of a block defined by indentation?

I have tried help indent but could not find
anything.

Thanks, Paddy.




More information about the Python-list mailing list