How can I keep the code formated as original source when I paste them to vim?
- by SpawnST
When I copy some code from webpages and paste it to VIM,I find it becomes a mess style like a ladder as follows
xxxxxx
xxxxxx
xxxxxx
xxxxxxxxxx
Since it messed so regularly so I think maybe there's something wrong with my .vimrc which is as below:
set number
set nocompatible
set nowritebackup
set noswapfile
syntax on
filetype…