autoindent feature should not be enabled by default
    Thomas Zander 
    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 
auto-indent feature.
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)
Architecture: amd64
Version: 1:6.3-086+1
I removed these lines from the /etc/vim/vimrc to disable this 'feature' in 
c, c++ and maybe other languages.
if has("autocmd")
 " Enabled file type detection
 " Use the default filetype settings. If you also want to load indent 
files
 " 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.
Thanks!
-- 
Thomas Zander
    
    
More information about the pkg-vim-maintainers
mailing list