vim paste indent problem
Q1:
vim has autoindent, but it has some problem when your paste code from clipboard.
A1:
before your pasting:
:set paste
after your pasting:
:set nopaste
OR
use:
"+p
OR
set pastetoggle=<F3>
Q2:
Copy & Paste on VIM by PuTTY
A2:
:set mouse=