将代码粘贴到vim时如何保持代码的原始来源格式?
当我从网页中复制一些代码并将其粘贴到VIM时,我发现它变成了像梯子一样的混乱样式,如下所示 xxxxxx xxxxxx xxxxxx xxxxxxxxxx 由于它经常乱七八糟,所以我认为我的问题可能.vimrc如下: set number set nocompatible set nowritebackup set noswapfile syntax on filetype indent on filetype plugin on filetype on set background=light set autoindent set smartindent set tabstop=4 set shiftwidth=4 set showmatch set guioptions=T set fileencodings=utf-8,prc set ruler set incsearch map gs :%s set t_Co=256 :colorscheme …