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

Paddy3118 paddy3118 at googlemail.com
Fri Mar 9 00:43:00 EST 2007


On Mar 8, 5:02 am, "Paddy3118" <paddy3... at googlemail.com> wrote:
>   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.

I have installed the following plugins for my Python work:
taglist
  http://vim-taglist.sourceforge.net/images/taglist_python.gif
python.vim
  http://vim.sourceforge.net/scripts/script.php?script_id=30
and Bicycle Repair Man
   http://bicyclerepair.sourceforge.net/

- Paddy




More information about the Python-list mailing list