A. S. Budden 写道:
> for (;;)
> {
> /* This is indented correctly: I don't want to change this */
> CallFunction1();
> CallFunction2();
> }
>
> for (;;)
> {CallFunction();} /* This is what I'd like to support for single
> lines with open and close braces */
>
> for (;;)
> {CallFunction();} /* This is how vim does it */
>
> Is this possible without messing up the rest of the indentation style?
I don't know if I understand you well, but you can use v command to
select the lines you want, and you can use :!indent to indent the
particular block.
The external indent utility is extremely useful and customizable, and it
is very convenient to use inside vim.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---