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'
|
2021-02-25 15:17:58 +00:00
|
|
|
Plug 'flazz/vim-colorschemes'
|
2021-01-16 18:24:47 +00:00
|
|
|
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 -
|
|
|
|
" -----------------------------------------------------------------------------
|
2021-10-15 05:46:36 +00:00
|
|
|
Plug 'SirVer/ultisnips'
|
|
|
|
Plug 'honza/vim-snippets'
|
2021-01-07 08:09:41 +00:00
|
|
|
|
|
|
|
" -----------------------------------------------------------------------------
|
|
|
|
" - Language support -
|
|
|
|
" -----------------------------------------------------------------------------
|
|
|
|
Plug 'sheerun/vim-polyglot'
|
|
|
|
Plug 'vimwiki/vimwiki'
|
2021-03-14 22:19:11 +00:00
|
|
|
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
|