码迷,mamicode.com
首页 > 系统相关 > 详细

个人Vim 配置

时间:2015-03-11 14:30:25      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:

包含了YouCompleteMe等插件,monokai风格

set nu!
colorscheme monokai
set tabstop=4
map  :NERDTreeToggle

set nocompatible  " be iMproved
filetype off  " required!


set rtp+=~/.vim/bundle/Vundle.vim/
call vundle#rc()

Bundle ‘gmarik/vundle‘
Bundle ‘tpope/vim-fugitive‘
Bundle ‘Lokaltog/vim-easymotion‘
Bundle ‘rstacruz/sparkup‘, {‘rtp‘: ‘vim/‘}
Bundle ‘tpope/vim-rails.git‘
" vim-scripts repos
Bundle ‘L9‘
Bundle ‘FuzzyFinder‘
Bundle ‘Valloric/YouCompleteMe‘
Bundle ‘Valloric/ListToggle‘
Bundle ‘scrooloose/syntastic‘
Bundle ‘scrooloose/nerdcommenter‘
Bundle ‘scrooloose/nerdtree‘
filetype plugin indent on     " required!不可以注释,注释后自己写的的comment插件不可以用。

let mapleader = ","
nnoremap jd :YcmCompleter GoToDefinitionElseDeclaration
nnoremap cc :YcmForceCompileAndDiagnostics
let g:ycm_global_ycm_extra_conf = ‘~/.ycm_extra_conf.py‘
let g:ycm_confirm_extra_conf = 0 "关闭工程目录加载ycm_extra_conf.py的提示  
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_ignore_files=[".*\.py$"] "禁用syntastic来对python检查  

效果如下:

技术分享

 

个人Vim 配置

标签:

原文地址:http://www.cnblogs.com/tobealion/p/4329544.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!