编辑.bashrc文件,根本不行;编辑.vimrc文件,用vi编辑器打开配置文件的时候,提示:
Error detected while processing /root/.vimrc:
line 1:
No range allowed:
......
line 7:
No range allowed: syntax on
......
请各位老鸟指教!
[eric@Linux eric]$ vi .vimrc
1 set nocompatible
2 set bs=2
3 set columns=80
4 set background=dark
5 set tabstop=4
6 set wrapmargin=4
7 set nobk
8 syntax on
9 set ai sm ruler
10 set cindent
11 set shiftwidth=4
12 set number
13 set ruler
14 set noexpandtab