|
|
" loading vim-plug
|
|
|
if empty(glob(g:home."/.vim/autoload/plug.vim"))
|
|
|
execute '!curl -fLo '.g:home.'/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim'
|
|
|
endif
|
|
|
|
|
|
call plug#begin(g:home.'/.vim/plugged')
|
|
|
|
|
|
" colors
|
|
|
Plug 'altercation/vim-colors-solarized'
|
|
|
Plug 'TheMrNomis/mustang-vim'
|
|
|
|
|
|
" syntax
|
|
|
Plug 'dpelle/vim-Grammalecte' " French
|
|
|
Plug 'martinda/Jenkinsfile-vim-syntax' " Jenkins
|
|
|
Plug 'vim-scripts/SWIG-syntax' " SWIG
|
|
|
Plug 'cespare/vim-toml' " TOML
|
|
|
Plug 'dylon/vim-antlr' " ANTLR
|
|
|
Plug 'rust-lang/rust.vim' " rust
|
|
|
Plug 'sirtaj/vim-openscad' " openSCAD
|
|
|
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
|
|
|
|
|
" must-have
|
|
|
Plug 'vim-airline/vim-airline' " awesome bar
|
|
|
Plug 'ctrlpvim/ctrlp.vim' " fuzzy file-finder
|
|
|
Plug 'junegunn/fzf' " fuzzy file-finder (faster than CtrlP)
|
|
|
Plug 'bkad/CamelCaseMotion' " move inside words
|
|
|
|
|
|
" IDE-like plugins
|
|
|
Plug 'vim-scripts/a.vim' " quickly change between .h & .c
|
|
|
Plug 'bitc/vim-bad-whitespace' " show whitespace at end of lines
|
|
|
if has('nvim')
|
|
|
" autocomplete
|
|
|
Plug 'shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins'}
|
|
|
Plug 'shougo/deoplete-clangx'
|
|
|
endif
|
|
|
Plug 'jiangmiao/auto-pairs' " pair parenthesis
|
|
|
Plug 'kien/rainbow_parentheses.vim' " color parentheses
|
|
|
Plug 'terryma/vim-multiple-cursors' " multiple cursors
|
|
|
Plug 'vim-scripts/DoxygenToolkit.vim' " creates doxygen blocks
|
|
|
Plug 'tacahiroy/ctrlp-funky' " fuzzy function-finder (CTRLp plugin)
|
|
|
Plug 'mhinz/vim-startify' " landing page & session manager
|
|
|
Plug 'scrooloose/nerdcommenter' " auto comment blocks
|
|
|
Plug 'jaxbot/semantic-highlight.vim' " semantic highlight
|
|
|
Plug 'mhinz/vim-signify' " VCS differences
|
|
|
"Plug 'vim-syntastic/syntastic' " syntax checker
|
|
|
"Plug 'neomake/neomake' " syntax checker (asynchoneous)
|
|
|
Plug 'w0rp/ale' " syntax checker
|
|
|
|
|
|
" others
|
|
|
Plug 'tpope/vim-fugitive' " git wrapper
|
|
|
|
|
|
Plug 'easymotion/vim-easymotion'
|
|
|
|
|
|
call plug#end()
|