Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
.vimrc file with plugins for js-development
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 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-surround'
Plugin 'ternjs/tern_for_vim'
Plugin 'scrooloose/nerdcommenter'
Plugin 'tpope/vim-fugitive'
Plugin 'godlygeek/tabular'
Plugin 'pangloss/vim-javascript'
Plugin 'Raimondi/delimitMate'
Plugin 'isruslan/vim-es6'
Plugin 'Valloric/YouCompleteMe'
Plugin 'scrooloose/syntastic'
Plugin 'mattn/emmet-vim'
Plugin 'mxw/vim-jsx'
Plugin 'itchyny/lightline.vim'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'jelera/vim-javascript-syntax'
Plugin 'heavenshell/vim-jsdoc'
Plugin 'jungomi/vim-mdnquery'
Plugin 'Chiel92/vim-autoformat'
Plugin 'MarcWeber/vim-addon-mw-utils'
Plugin 'tomtom/tlib_vim'
Plugin 'garbas/vim-snipmate'
call vundle#end() " required
filetype plugin indent on " required
execute pathogen#infect()
call pathogen#helptags()
let g:ycm_confirm_extra_conf = 0
let g:tern_show_argument_hints='on_hold'
" and
let g:vascript_plugin_flow = 1
let g:javascript_plugin_ngdoc = 1
let g:javascript_plugin_jsdoc = 1
let g:jsx_ext_required = 0
let g:tern_map_keys=1
set tabstop=2
set number
set softtabstop=0 noexpandtab
set shiftwidth=2
set showcmd
set cursorline
set wildmenu
set laststatus=2
set showmatch
syntax enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment