On Dec 23, 8:52 am, Brett Stahlman <[email protected]> wrote:
>
> As I mentioned in an earlier post, simply set ts and sw to the same
> value, and Vim will not mix spaces and tabs for leading indents.
>

True, but this is not what is being asked.

The desired behavior is for Vim to automatically do something like
this:

{tab}{tab}{tab}if (a == b &&
{tab}{tab}{tab}....c == d &&
{tab}{tab}{tab}....e == f)
{tab}{tab}{tab}{
{tab}{tab}{tab}{tab}foo();
{tab}{tab}{tab}}

Note that actual TAB characters are used for indent, but spaces are
used for alignment.

As far as I know, the format on the 2nd and 3rd lines is not possible
for Vim to do automatically.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to