Skip to content

Instantly share code, notes, and snippets.

@egoist-sx
Created June 25, 2016 05:00
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 egoist-sx/9ab32b390da33f050b81a5906dd7a07a to your computer and use it in GitHub Desktop.
Save egoist-sx/9ab32b390da33f050b81a5906dd7a07a to your computer and use it in GitHub Desktop.
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'https://github.com/pangloss/vim-javascript.git'
Plugin 'https://github.com/scrooloose/syntastic.git'
Plugin 'https://github.com/kien/ctrlp.vim.git'
Plugin 'https://github.com/ervandew/supertab.git'
Plugin 'https://github.com/mxw/vim-jsx.git'
Plugin 'https://github.com/jelera/vim-javascript-syntax'
Plugin 'https://github.com/jiangmiao/auto-pairs.git'
Plugin 'https://github.com/scrooloose/nerdtree'
call vundle#end()
filetype on
filetype plugin indent on
set visualbell
set nu
syntax on
set t_Co=256
set showmatch
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent
map <F4> :e %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp,<CR>
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_mode_map = { 'mode': 'passive', 'active_filetypes': [],'passive_filetypes': [] }
nnoremap <C-x> :SyntasticCheck<CR>
set backspace=indent,eol,start
let g:ctrlp_custom_ignore = 'node_modules\|bower_components\|git'
map <C-n> :NERDTreeToggle<CR>
"set spell
"set spelllang=en_us
"hi SpellBad guibg=#ff2929 ctermbg=224
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment