Last active
April 27, 2017 09:34
-
-
Save gHashTag/67248af179a19161f6d7abb354f49ad0 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 'pangloss/vim-javascript' | |
Plug 'jelera/vim-javascript-syntax' | |
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' | |
" 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> | |
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 expandtab | |
set tabstop=4 | |
vnoremap < <gv | |
vnoremap > >gv | |
set shiftwidth=2 " в командах отступа используется # пробелов | |
"Tagbar | |
let g:tagbar_ctags_bin='/usr/local/bin/ctags' | |
" 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