I'm new to Ubuntu. Just migrating over from Gentoo. I've been pulling my hair out in regards to the indentation and indentation on comments in vim. I've been messing with /etc/vim/vimrc and /usr/share/vim/vim82/indent
So, with // comments, it will indent AND comment
Without comments, it will indent with every line with mouse paste.
If I remove the php.vim file, the commenting indent goes away, but looks like indents are still happening -- staggered look, but the commenting of all lines after a comment stops.
Again, I come from Gentoo, and I'm using vim90 there, but I've been using vim for years, so I don't think it's a vim version issue. Just can't figure out the proper configuration to add to vimrc. Googling has all sorts of options to address this, and I add those options with no results.
Code:
:set paste
Does what I want, but unsure how to set this in vimrc
Any help?
Thanks!
hanji