Created
August 16, 2017 19:27
-
-
Save gHashTag/23c3595f91f93e9d2459c0a9cd5c4a8e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| call plug#begin('~/.vim/plugged') | |
| " On-demand loading | |
| Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
| Plug 'Valloric/YouCompleteMe' | |
| Plug 'jiangmiao/auto-pairs' | |
| Plug 'easymotion/vim-easymotion' | |
| Plug 'altercation/vim-colors-solarized' | |
| Plug 'mxw/vim-jsx' | |
| Plug 'kern/vim-es7' | |
| Plug 'pangloss/vim-javascript' | |
| Plug 'othree/yajs' | |
| Plug 'bling/vim-airline' | |
| Plug 'tpope/vim-fugitive' | |
| Plug 'airblade/vim-gitgutter' | |
| Plug 'kien/ctrlp.vim' | |
| Plug 'scrooloose/syntastic' | |
| Plug 'mtscout6/syntastic-local-eslint.vim' | |
| Plug 'flowtype/vim-flow' | |
| Plug 'majutsushi/tagbar' | |
| Plug 'elzr/vim-json' | |
| Plug 'scrooloose/nerdcommenter' | |
| Plug 'ap/vim-css-color' | |
| " Initialize plugin system | |
| call plug#end() | |
| " Mappings | |
| map <C-n> :NERDTreeToggle <CR> | |
| map <Leader> <Plug>(easymotion-prefix) | |
| map <Leader>w <Plug>(easymotion-bd-w) | |
| :imap jj <Esc> | |
| :imap оо <Esc> | |
| nmap <F8> :TagbarToggle<CR> | |
| " Color Settings | |
| set t_Co=256 | |
| syntax enable | |
| let g:solarized_termtrans = 1 | |
| let g:solarized_termcolors=256 | |
| set background=dark | |
| colorscheme solarized | |
| " JSX syntax | |
| let g:xml_syntax_folding = 1 | |
| let g:jsx_ext_required = 0 | |
| " Airline | |
| set laststatus=2 | |
| " Settings | |
| set number | |
| set tabstop=2 | |
| set shiftwidth=0 | |
| set expandtab | |
| set softtabstop=2 | |
| " Tagbar | |
| let g:tagbar_ctags_bin='/usr/local/bin/ctags' | |
| " Ctrl-p | |
| set wildignore+=*/tmp/*,*.so,*.swp,*.zip | |
| " Syntastic | |
| set statusline+=%#warningmsg# | |
| set statusline+=%{SyntasticStatuslineFlag()} | |
| set statusline+=%* | |
| let g:syntastic_always_populate_loc_list = 1 | |
| let g:syntastic_loc_list_height = 5 | |
| let g:syntastic_auto_loc_list = 0 | |
| let g:syntastic_check_on_open = 1 | |
| let g:syntastic_check_on_wq = 1 | |
| " enable syntastic for javascript files | |
| let g:syntastic_javascript_checkers = ['eslint','flow'] | |
| let g:syntastic_javascript_flow_exe = 'flow' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment