ubuntu下安裝vimphp
sudo aptitude -y install vim
安裝supertabshell
wget http://www.vim.org/scripts/download_script.php?src_id=21752 -nc -O ~/download/supertab.vmb vim ~/download/supertab.vmb :UseVimball
.vimrc配置ubuntu
set nocompatible " no compatible set showmode " show vim mode set guioptions-=T " delete gui toolbar set ruler " show the last row status filetype on " check filetype syntax on " color and syntax set history=1000 " line of history set background=dark " bg set autoindent " auto indent set smartindent " smart indent set tabstop=4 " tab for 4 spaces set shiftwidth=4 " shift for 4 spaces set cursorline " line under cursor set backspace=indent,eol,start set hlsearch " highlight search set showmatch " match mode set incsearch " search while inputing "let &termencoding=&encoding "set fileencodings=utf-8-bom,ucs-bom,utf-8,cp936,gb18030,ucs,big5,gbk "set fileencodings=utf8,ucs-bom,gb18030,gbk,gb2312,cp936 "set termencoding=utf8 "set encoding=utf8 let g:SuperTabDefaultCompletionType="context"