autoindent feature should not be enabled by default
zander at kde.org
Sat Oct 1 09:36:00 UTC 2005
I'm quite annoyed by a feature that makes copy/paste impossible; the
Press enter on a line that starts with // and you have comments on your
next line. Same with indenting. Very very annoying since pasting using
middle-mouse click just became impossible.
In my vim; (debian testing)
I removed these lines from the /etc/vim/vimrc to disable this 'feature' in
c, c++ and maybe other languages.
" Enabled file type detection
" Use the default filetype settings. If you also want to load indent
" to automatically do language-dependent indenting add 'indent' as well.
filetype plugin on
endif " has ("autocmd
Note that the comment pasted above implies indent is not enabled without
adding 'indent', while it is here.
More information about the pkg-vim-maintainers