mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(vim): split file into smaller parts
This commit is contained in:
21
nvim/plugins.vim
Normal file
21
nvim/plugins.vim
Normal 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
|
||||
Reference in New Issue
Block a user