Wednesday, June 1, 2011

how to auto-indent both Tab and Space indented lines?

In my files, some lines are indented with Tab's, while others uses
spaces.
If I set cindent or smartindent, new lines after one set of these
lines cannot be auto-indented correctly.
So I have to set autoindent and add or remove indents manually when
necessary.
Cannot VIM auto discern previous line's indent style to auto indent a
new line?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: