dotfiles/symlinks/vim/plugins.vim

100 lines
3.2 KiB
VimL
Raw Normal View History

2021-01-07 08:09:41 +00:00
if &compatible
set nocompatible
endif
" -----------------------------------------------------------------------------
" - Prepare Plug.vim -
" -----------------------------------------------------------------------------
if !has('win32') && !has('win64')
let $PLUGLOCATION = $VIMHOME.'/autoload/plug.vim'
if has('nvim')
let $PLUGLOCATION = $NVIMHOME.'/site/autoload/plug.vim'
endif
if empty(glob('$PLUGLOCATION'))
silent !curl -fLo $PLUGLOCATION --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
if empty($MYVIMRC)
autocmd VimEnter * PlugInstall --sync | source $HOME . '.vimrc'
else
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
endif
endif
if empty($MY_VIM_HOME)
call plug#begin($VIMHOME . '/plugged')
else
call plug#begin($MY_VIM_HOME . '/plugged')
endif
" -----------------------------------------------------------------------------
" - General -
" -----------------------------------------------------------------------------
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-endwise'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-vinegar'
Plug 'tpope/vim-obsession'
Plug 'airblade/vim-gitgutter'
Plug 'godlygeek/tabular'
Plug 'Shougo/vimproc.vim', { 'do' : 'make' }
Plug 'vim-scripts/utl.vim'
Plug 'mbbill/undotree', { 'on': 'UndotreeToggle' }
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'mhinz/vim-grepper'
Plug 'direnv/direnv.vim'
Plug 'flazz/vim-colorschemes'
Plug 'tpope/vim-speeddating'
2021-01-07 08:09:41 +00:00
" -----------------------------------------------------------------------------
" - Autocompletion -
" -----------------------------------------------------------------------------
2021-01-19 09:58:56 +00:00
if !exists('g:loaded_node_provider') || g:loaded_node_provider != 0
Plug 'neoclide/coc.nvim', {'branch': 'release'}
endif
2021-01-07 08:09:41 +00:00
Plug 'ervandew/supertab'
" -----------------------------------------------------------------------------
" - Tools -
" -----------------------------------------------------------------------------
Plug 'tpope/vim-dispatch'
Plug 'radenling/vim-dispatch-neovim'
Plug 'vim-test/vim-test'
Plug 'dense-analysis/ale'
Plug 'tpope/vim-projectionist'
" -----------------------------------------------------------------------------
" - Vim improvements -
" -----------------------------------------------------------------------------
Plug 'wellle/targets.vim'
Plug 'tpope/vim-unimpaired'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-sleuth'
" -----------------------------------------------------------------------------
" - Snippets -
" -----------------------------------------------------------------------------
if !exists('g:loaded_python3_provider') || g:loaded_python3_provider != 0
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
endif
2021-01-07 08:09:41 +00:00
" -----------------------------------------------------------------------------
" - Language support -
" -----------------------------------------------------------------------------
Plug 'sheerun/vim-polyglot'
Plug 'c-brenn/phoenix.vim'
Plug 'tpope/vim-rails'
2021-02-12 17:11:37 +00:00
Plug 'tpope/vim-salve'
Plug 'tpope/vim-fireplace'
2021-01-07 08:09:41 +00:00
Plug 'vimwiki/vimwiki'
2021-01-19 12:27:05 +00:00
Plug 'ledger/vim-ledger'
2021-01-07 08:09:41 +00:00
call plug#end()
filetype plugin indent on
syntax enable