2019-04-28 04:27:36 +02:00
|
|
|
""" PLUGINS MANAGEMENT """
|
|
|
|
|
|
|
|
" NOTE 18-06-24 Got rid of Vundle in favor of vim-plug (why: more recent, supports
|
|
|
|
" Neovim, simpler). Commented out plugins that seemed useless, feel free to
|
|
|
|
" uncomment them again if you need to
|
|
|
|
|
|
|
|
" Auto-install vim-plug
|
|
|
|
if empty(glob('~/.cache/vim/autoload/plug.vim'))
|
|
|
|
silent !curl -fLo ~/.cache/vim/autoload/plug.vim --create-dirs
|
|
|
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
|
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
|
|
|
endif
|
|
|
|
|
|
|
|
" Plugin definition
|
|
|
|
call plug#begin('~/.cache/vim/plugged')
|
|
|
|
|
|
|
|
" Plug 'L9'
|
|
|
|
" Plug 'rstacruz/sparkup', {'rtp': 'vim/'}
|
|
|
|
Plug 'chriskempson/base16-vim'
|
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
" Plug 'tpope/vim-fugitive'
|
|
|
|
" Plug 'tpope/vim-repeat'
|
2019-10-17 12:44:30 +02:00
|
|
|
|
|
|
|
" Regex for words, with case in mind
|
2019-04-28 04:27:36 +02:00
|
|
|
Plug 'tpope/tpope-vim-abolish'
|
2019-10-17 12:44:30 +02:00
|
|
|
|
2019-04-28 04:27:36 +02:00
|
|
|
Plug 'vim-airline/vim-airline'
|
|
|
|
Plug 'vim-airline/vim-airline-themes'
|
|
|
|
Plug 'airblade/vim-gitgutter'
|
|
|
|
Plug 'mbbill/undotree'
|
|
|
|
Plug 'ludovicchabant/vim-gutentags'
|
|
|
|
Plug 'majutsushi/tagbar'
|
|
|
|
Plug 'wellle/targets.vim'
|
|
|
|
" Plug 'Chiel92/vim-autoformat'
|
|
|
|
Plug 'tomtom/tcomment_vim'
|
|
|
|
" Plug 'Shougo/denite.nvim'
|
|
|
|
" Plug 'tomlion/vim-solidity'
|
|
|
|
" Plug 'godlygeek/tabular'
|
|
|
|
" Plug 'jrozner/vim-antlr'
|
2019-07-08 07:57:29 +02:00
|
|
|
|
|
|
|
" When in f/F/t/T mode, highlight in red the characters that can be jumped to
|
|
|
|
Plug 'deris/vim-shot-f'
|
|
|
|
|
|
|
|
" Auto-highlight one character per word for quick f/F movement
|
|
|
|
Plug 'unblevable/quick-scope'
|
|
|
|
|
2019-04-28 04:27:36 +02:00
|
|
|
"
|
|
|
|
" Plug 'maralla/completor.vim'
|
2019-07-08 07:57:29 +02:00
|
|
|
"
|
|
|
|
" Auto-completion
|
|
|
|
if has('nvim')
|
|
|
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
|
|
|
else
|
|
|
|
Plug 'Shougo/deoplete.nvim'
|
|
|
|
Plug 'roxma/nvim-yarp'
|
|
|
|
Plug 'roxma/vim-hug-neovim-rpc'
|
|
|
|
endif
|
2019-04-28 04:27:36 +02:00
|
|
|
" Plug 'zchee/deoplete-jedi'
|
|
|
|
|
|
|
|
" Plug 'python-mode/python-mode', { 'branch': 'develop' }
|
|
|
|
Plug 'junegunn/fzf', {'do': './install --bin'}
|
|
|
|
Plug 'junegunn/fzf.vim'
|
|
|
|
Plug 'ervandew/supertab'
|
|
|
|
Plug 'dpelle/vim-LanguageTool'
|
|
|
|
Plug 'terryma/vim-smooth-scroll'
|
|
|
|
Plug 'vim-pandoc/vim-pandoc'
|
|
|
|
Plug 'vim-pandoc/vim-pandoc-syntax'
|
|
|
|
Plug 'idanarye/vim-vebugger'
|
2019-07-08 07:57:29 +02:00
|
|
|
|
|
|
|
" Language Server Procotol client
|
|
|
|
Plug 'autozimu/LanguageClient-neovim', {
|
|
|
|
\ 'branch': 'next',
|
|
|
|
\ 'do': 'bash install.sh',
|
|
|
|
\ }
|
|
|
|
|
2019-04-28 04:27:36 +02:00
|
|
|
|
2019-07-08 11:01:46 +02:00
|
|
|
" Automatically closes brackets, quotes and parentheses
|
2019-08-11 17:06:45 +02:00
|
|
|
" Plug 'jiangmiao/auto-pairs'
|
|
|
|
" Disabled : While it works correctly when typing code,
|
|
|
|
" when modifying existing one it's another thing
|
2019-07-08 11:01:46 +02:00
|
|
|
|
2020-02-03 08:33:27 +01:00
|
|
|
Plug 'ActivityWatch/aw-watcher-vim'
|
|
|
|
" Activity watch
|
|
|
|
" (might not want this on every install)
|
|
|
|
|
2019-04-28 04:27:36 +02:00
|
|
|
call plug#end()
|
|
|
|
|