-
-
Save egoist-sx/9ab32b390da33f050b81a5906dd7a07a to your computer and use it in GitHub Desktop.
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
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