Last active
August 29, 2015 14:14
-
-
Save otterthecat/da42ac25c76d1e72fa7e to your computer and use it in GitHub Desktop.
vim config
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 | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
" The following are examples of different formats supported. | |
" Keep Plugin commands between vundle#begin/end. | |
Plugin 'moll/vim-node' | |
Plugin 'godlygeek/tabular' | |
Plugin 'jelera/vim-javascript-syntax' | |
Plugin 'flazz/vim-colorschemes' | |
Plugin 'Lokaltog/vim-distinguished' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'bling/vim-airline' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'groenewege/vim-less' | |
Plugin 'valloric/YouCompleteMe' | |
Plugin 'editorconfig-vim' | |
Plugin 'christoomey/vim-tmux-navigator' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
" powerline fonts | |
let g:airline_powerline_fonts = 1 | |
syntax enable | |
set t_Co=256 | |
set background=dark | |
colorscheme zenburn | |
set number | |
set history=50 | |
set title | |
set ruler | |
set encoding=utf8 | |
set ffs=unix,mac,dos | |
set laststatus=2 | |
" Syntastic settings | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
" 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 | |
let g:syntastic_javascript_checkers = ['eslint', 'jscs'] | |
let g:syntastic_aggregate_errors = 1 | |
" Open NerdTree when starting vim or open new buffer | |
autocmd VimEnter * NERDTree | |
" Toggle NERDTree with Ctrl+N | |
nmap <silent><c-n> :NERDTreeToggle<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment