当我从网页中复制一些代码并将其粘贴到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 evening
filetype plugin indent on
通常我会在VIM中编写python,我们将不胜感激。
1
谢谢。这让我很生气,多年以来,我从未无所事事地问任何人。+1。
—
DevSolar 2010年