dotfiles/symlinks/vim/plugins.vim

71 lines
2.4 KiB
VimL
Raw Permalink 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
2022-05-09 16:16:47 +00:00
autocmd VimEnter * PlugInstall --sync | source $HOME . '.vimrc'
2021-01-07 08:09:41 +00:00
endif
endif
2022-05-09 16:16:47 +00:00
call plug#begin($VIMHOME . '/plugged')
2021-01-07 08:09:41 +00:00
" -----------------------------------------------------------------------------
" - General -
" -----------------------------------------------------------------------------
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-endwise'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-vinegar'
Plug 'mhinz/vim-grepper'
Plug 'flazz/vim-colorschemes'
Plug 'tpope/vim-speeddating'
2021-01-07 08:09:41 +00:00
" -----------------------------------------------------------------------------
" - Autocompletion -
" -----------------------------------------------------------------------------
Plug 'ervandew/supertab'
" -----------------------------------------------------------------------------
" - Tools -
" -----------------------------------------------------------------------------
Plug 'tpope/vim-dispatch'
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 -
" -----------------------------------------------------------------------------
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
2021-01-07 08:09:41 +00:00
" -----------------------------------------------------------------------------
" - Language support -
" -----------------------------------------------------------------------------
Plug 'sheerun/vim-polyglot'
Plug 'vimwiki/vimwiki'
Plug 'esensar/vimwiki-reviews'
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