SyntaxFix
Write A Post
Hire A Developer
Questions
Please read this article: Toggle auto-indenting for code paste
Some people like the visual feedback shown in the status line by the following alternative for your vimrc:
vimrc
nnoremap <F2> :set invpaste paste?<CR> set pastetoggle=<F2> set showmode