vimrc
1 " show row num 2 set nu 3 4 " show syntax highlight 5 set syntax=on 6 7 " set autoindent 8 set autoindent 9 set cindent 10 11 " set tab width 12 set tabstop=4 13 14 " set history number 15 set history=1000 16 17 " set smart indent 18 set smartindent 19 20 " set brackets match 21 set showmatch
配置之后遇到了一个问题,backspace无效,解决办法如下:
所以解决的办法就是在vimrc文件中加入如下代码:
set backspace=indent,eol,start
如果还不行的话,可能还需要
set nocompatible