1) install vim with command "apt-get install vim"
2) fine the configuration file of vim in "/etc/vim/vimrc" ,copy this file to vimrc.local
3) comment out the line of execute vimrc.local in vimrc.local to aviod re-entry file in loop
4) add one line "colorscheme elflord", the name elford is the name of *.vim file
5) if you have a download script file of vim you can put it into /usr/share/vim/vim72

Appedix from other people

另外在 vimrc.local 內也可以設置其他選項,例如:
set hlsearch
” 高亮度搜尋
set expandtab
set shiftwidth=4
set softtabstop=4
set tabstop=4
” 以上為縮排選項轉空格
set cindent
set autoindent
set number
” 自動行數、縮排
…等等。


文章標籤
全站熱搜
創作者介紹
創作者 horace papa 的頭像
horace papa

Horace papa's life

horace papa 發表在 痞客邦 留言(0) 人氣(17)