Last active
September 27, 2017 22:08
-
-
Save yuntsewu/140b91ff6467d7647b5c688080b33219 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'git://git.wincent.com/command-t.git' | |
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} | |
" All of your Plugins must be added before the following line | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'flazz/vim-colorschemes' | |
Plugin 'tpope/vim-surround' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'bronson/vim-trailing-whitespace' | |
call vundle#end() " required | |
filetype plugin indent on " required | |
syntax enable | |
set t_Co=256 | |
colorscheme badwolf | |
hi Normal ctermbg=black | |
set tabstop=4 " number of visual spaces per TAB | |
set softtabstop=4 " number of spaces in tab when editing | |
set expandtab " so tabs are spaces | |
set showcmd " show command in bottom bar | |
filetype indent on " load filetype-specific indent files | |
set wildmenu " visual autocomplete for command menu | |
set lazyredraw " redraw only when we need to. | |
set showmatch " highlight matching [{()}] | |
set incsearch " search as characters are entered | |
set hlsearch " highlight matches | |
" turn off search highlight | |
nnoremap <leader><space> :nohlsearch<CR> | |
set foldenable " enable folding | |
set foldlevelstart=10 " open most folds by default | |
set foldnestmax=10 " 10 nested fold max | |
" space open/closes folds | |
nnoremap <space> za | |
set foldmethod=indent " fold based on indent level | |
let g:syntastic_always_populate_loc_list = 1 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_check_on_open = 1 | |
let g:syntastic_check_on_wq = 0 | |
filetype on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment