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 -~----------~----~----~----~------~----~------~--~---
- Re: Indent with tabs, align with spaces pansz
- Re: Indent with tabs, align with spaces Brett Stahlman
- Re: Indent with tabs, align with spaces Tony Mechelynck
- Re: Indent with tabs, align with spaces pansz
- Re: Indent with tabs, align with spaces Oliver Zheng
- Re: Indent with tabs, align with spaces pansz
- Re: Indent with tabs, align with spaces Oliver Zheng
- Re: Indent with tabs, align with spaces pansz
- Re: Indent with tabs, align with spaces Gary Johnson
- Re: Indent with tabs, align with spaces Brett Stahlman
- Re: Indent with tabs, align with spaces fritzophrenic
- Re: Indent with tabs, align with spaces Richard Hartmann
- Re: Indent with tabs, align with spaces Tony Mechelynck
- Re: Indent with tabs, align with spaces Richard Hartmann
- Re: Indent with tabs, align with spaces Tony Mechelynck
- Re: Indent with tabs, align with spaces Max Waterman
- Re: Indent with tabs, align with spaces Oliver Zheng
- Re: Indent with tabs, align with spaces Max Waterman
- Re: Indent with tabs, align with spaces Tony Mechelynck
- Re: Indent with tabs, align with spaces Matt Wozniski
- Re: Indent with tabs, align with spaces Antony Scriven
