Created
June 10, 2017 17:34
-
-
Save njbraun/60506c8d6f568f9056dbfa79727fe725 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
call plug#begin('~/.vim/plugged') | |
Plug 'pangloss/vim-javascript' | |
Plug 'godlygeek/tabular' | |
Plug 'plasticboy/vim-markdown' | |
Plug 'mhartington/oceanic-next' | |
Plug 'christoomey/vim-tmux-navigator' | |
Plug 'Yggdroot/indentLine' | |
Plug 'flazz/vim-colorschemes' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'tpope/vim-fugitive' | |
Plug 'scrooloose/syntastic' | |
Plug 'scrooloose/nerdtree' | |
Plug 'kien/ctrlp.vim' | |
Plug 'altercation/vim-colors-solarized' | |
Plug 'valloric/youcompleteme' | |
Plug 'mustache/vim-mustache-handlebars' | |
" Add plugins to &runtimepath | |
call plug#end() | |
filetype plugin indent on | |
set tabstop=4 | |
set softtabstop=0 | |
set expandtab | |
set shiftwidth=4 | |
set smarttab | |
" Theme | |
syntax enable | |
if has('gui_running') | |
set background=light | |
else | |
set background=dark | |
endif | |
let g:solarized_termcolors=256 | |
let g:solarized_termtrans =1 | |
colorscheme solarized | |
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'] | |
" Prettier | |
autocmd FileType javascript set formatprg=prettier\ --stdin\ --single-quote\ --tab-width=4 | |
" CtrlP Ignore | |
let g:ctrlp_custom_ignore = 'build\|node_modules\|DS_Store\|git' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment