Hello, On 9/9/06, Laurent Birtz <[EMAIL PROTECTED]> wrote:
Hello,I need help to change the default behavior of the 'autoindent' option. The doc says: Copy indent from current line when starting a new line (typing <CR> in Insert mode or when using the "o" or "O" command). If you do not type anything on the new line except <BS> or CTRL-D and then type <Esc> or <CR>, the indent is deleted again. I *do not* want vim to remove the tabs when empty lines are inserted by typing 'escape' or 'return'. It's a pain afterwards to bring the cursor back to the correct indentation level (both with vim and other editors).
To bring the cursor to the correct indentation level in an empty line, you can use CTRL-F in insert mode. For more information, read :help i_CTRL-F :help 'indentkeys' :help 'cinkeys' - Yegappan
