Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. call plug#begin()
  2. Plug 'editorconfig/editorconfig-vim'
  3. Plug 'neomake/neomake'
  4. Plug 'tpope/vim-commentary'
  5. Plug 'tpope/vim-surround'
  6. Plug 'scrooloose/nerdtree'
  7. Plug 'fatih/vim-go'
  8. Plug 'Valloric/YouCompleteMe', { 'do': './install.py --tern-completer' }
  9. call plug#end()
  10.  
  11. :command E Explore
  12.  
  13. autocmd! BufWritePost * Neomake
  14. " autocmd vimenter * NERDTree
  15.  
  16. if executable('./node_modules/.bin/eslint')
  17. let g:neomake_javascript_eslint_exe = './node_modules/.bin/eslint'
  18. endif
  19. let g:neomake_javascript_enabled_makers = ['eslint']
  20.  
  21. let g:neomake_open_list = 2
  22. let g:python_host_prog = '/usr/local/bin/python'
  23.  
  24. set shiftwidth=2 " operation >> indents 2 columns; << unindents 2 columns
  25. set tabstop=2 " a hard TAB displays as 2 columns
  26. set expandtab " insert spaces when hitting TABs
  27. set softtabstop=2 " insert/delete 2 spaces when hitting a TAB/BACKSPACE
  28. set shiftround " round indent to multiple of 'shiftwidth'
  29. set autoindent " align the new line indent with the previous line
  30.  
  31. nnoremap <esc> :noh<return><esc>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement