1、比较酷且值得尝试的网站:
语法检查:https://github.com/scrooloose/syntastic
IDE:http://eclim.org/
2、进入正题。
a)我的vim的安装包合集(vim7.4及插件集合):
http://download.youkuaiyun.com/detail/macrohasdefined/5989305
b)或者我的.vim目录:
http://download.youkuaiyun.com/detail/macrohasdefined/5990693
3、具体安装方法见google。
晒晒我的.vimrc配置文件:
"设置鼠标模式
set mouse=a
"开启文件类型识别
filetype on
filetype plugin on
"设置tab键宽度
set ts=4
"将tab替换为空格
set expandtab
"开启代码折叠
set foldenable
"设置代码折叠为标记折叠
set foldmethod=marker
"自动重载文件
set autoread
"配色
colorscheme desert
"显示右键菜单
be mswin
"显示状态条
set ruler
"显示行号
set nu
"语法高亮
syntax on
"开启backspace在插入模式删除功能
set backspace=indent,eol,start
"高亮显示搜索结果
set hlsearch
"直接高亮显示匹配的结果
set incsearch
"编码
set encoding=utf-8
"设置自动缩进
set autoindent
set smartindent
set cindent
"设置自动缩进位数
set shiftwidth=4
"高亮显示匹配的括号
set showmatch
"设置字体
set guifont=monospace\ 12
"设置vim默认使用ctags路径,避免和emacs的gnu-ctags产生冲突,从而导致taglist无法使用
let g:Tlist_Ctags_Cmd='/usr/bin/ctags'
"设置当前行配色方案
set cursorline
hi CursorLine cterm=NONE ctermbg=black ctermfg=darkgreen
hi CursorClumn cterm=NONE ctermbg=black ctermfg=green
"和其他程序间共享剪切板(使vim默认yy及p使用系统选择缓冲区)
set clipboard=unnamed
晒晒$HOME/.vim/after/colors/desert.vim配置文件(非常重要且有用,是aftercolor插件的配置文件,用来改变vim弹出菜单的配色):
"设置补全弹出窗体的配色
highlight Pmenu guibg=#404040 guifg=gray gui=italic