Skip to content

Instantly share code, notes, and snippets.

@Windsooon
Last active April 6, 2016 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Windsooon/e1ea78de11d3227c42681c5414a96d7e to your computer and use it in GitHub Desktop.
Save Windsooon/e1ea78de11d3227c42681c5414a96d7e to your computer and use it in GitHub Desktop.
Bundle 'Valloric/YouCompleteMe'
colorscheme molokai
execute pathogen#infect()
filetype plugin indent on
set hlsearch
set guifont=Monaco:h18
set nocompatible "关闭vi兼容
autocmd vimenter * NERDTree "自动开启nerdtree
map <C-n>: <plug>NERDTreeToggle<CR>
set vb t_vb= "去掉提示音
set enc=utf-8
set backspace=indent,eol,start "退格缩进
set number "显示行号
filetype plugin on "文件类型
set history=500 "历史命令
syntax on "语法高亮
set autoindent "ai 自动缩进
set smartindent "智能缩进
set showmatch "括号匹配
set ruler "右下角显示光标状态行
set nohls "关闭匹配的高亮显示
set incsearch "设置快速搜索
set foldenable "开启代码折叠
set modeline "自动载入模式行
set ts=4
set sw=4
set expandtab
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'Valloric/YouCompleteMe'
Plugin 'mattn/emmet-vim'
call vundle#end() " required
filetype plugin indent on " required:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment