Skip to content

Instantly share code, notes, and snippets.

@korneliakobiela
Last active August 14, 2017 09:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save korneliakobiela/e0ae5943ef6001724f01d84fe8a36f24 to your computer and use it in GitHub Desktop.
Save korneliakobiela/e0ae5943ef6001724f01d84fe8a36f24 to your computer and use it in GitHub Desktop.
.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