I use the middle-click, or CTRL-SHIFT-V to paste indented selection into Vim:
<a>
<b>
<c>
</a>
I have tried to
:set nosmartindent
:set nosmarttab
It's used to working, but recently nosmartindent doesn't work any more. The result is something like:
<a>
<b>
<c>
</a>
EDIT
It seems like I should also disable the filetype:
set filetype=text
Then, things go right, no more indents again.
But, should I have to set nosmart*, set filetype=text each time before paste?