Hi All! I was hesitating where to post this message to: editors.vim or editor.vim.devel, since I'm not sure if it's bug or I'm just missing something. Finally I decided to treat this as a bug.
Problem: I can't get copyindent/preserveindent options working. The scenario to reproduce: $ gvim -u NONE -U NONE --noplugin Then, go to insert mode (i), type a Tab (C-V, C-I), type hello. Go back to normal mode. Do: set preserveindent copyindent autoindent expandtab Go to insert mode again and add a new line after the existing one. The new line will be indented with spaces, while it is expected that the tab from the previous line will be copied. P.S. It's a Windows x86 box, VIM 7.0.195