Skip to content

Instantly share code, notes, and snippets.

@r3nya
Last active January 21, 2016 14:26
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 r3nya/d4e39328c0e357478a5a to your computer and use it in GitHub Desktop.
Save r3nya/d4e39328c0e357478a5a to your computer and use it in GitHub Desktop.

Config

" Auto install vim-plug
if empty(glob("~/.vim/autoload/plug.vim"))
  execute '!curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.github.com/junegunn/vim-plug/master/plug.vim'
endif

" Plugins
call plug#begin('~/.vim/plugged')

Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' }
Plug 'bling/vim-airline'
Plug 'majutsushi/tagbar'
Plug 'junegunn/vim-easy-align'
Plug 'junegunn/seoul256.vim'
Plug 'pangloss/vim-javascript'
Plug 'elzr/vim-json'
Plug 'airblade/vim-gitgutter'
Plug 'kien/ctrlp.vim'
Plug 'cakebaker/scss-syntax.vim'
Plug 'eslint/eslint'
Plug 'scrooloose/syntastic'

call plug#end()

" Settings
syntax on
set number

set guioptions-=egimrLtT
set cursorline

filetype plugin indent on

set wildignore+=*/tmp/*,*.so,*.swp
let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git'

" Syntastic
let g:syntastic_check_on_open = 1
let g:syntastic_javascript_checkers = ['eslint']

" Themes
colo seoul256

" Maps
map <F2> :NERDTreeToggle<CR>
map <F3> :TagbarToggle<CR>

#TODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment