[email protected] 写道:
>  Since python does not have start-/end-of-block
>  marker a la "{}" in C: How can I indent a
>  block of code? How does vim know, how large
>  such a block is, where it starts and where it
>  ends? How can I acchieve, what "==" does for
>  C/C++-code?

do you mean "add 1 level of indentation to a block of code", or 
"re-indent a badly-formatted block of code"?

for the second, you can do nothing if you're using python, python forces 
correct indent when you write the code.

for the first, you can simply select the block of code and press >> to 
add-indent-level or << to remove-indent-level.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to