chore(vim): split file into smaller parts

This commit is contained in:
Stefan Imhoff
2021-12-09 16:22:17 +01:00
parent 2d1d355358
commit 36f95d7f46
10 changed files with 236 additions and 240 deletions

21
nvim/plugins.vim Normal file
View File

@@ -0,0 +1,21 @@
" *** *** *** Plugins *** *** ***
" *******************************
" Automatically install vim-plug
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo ' . data_dir . '/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin(data_dir . '/plugins')
" Base16 for Vim
Plug 'chriskempson/base16-vim'
" A command-line fuzzy finder
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
call plug#end()
doautocmd User PlugLoaded