dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 627720497317bc8703efa48bb9a53922d4096271
parent d9a75db6ebb5481ff05961a57f7a8f969c87dea8
Author: Chris Bracken <chris@bracken.jp>
Date:   Fri,  1 Oct 2021 18:44:56 -0700

Switch from vundle to vim-plug

vim-plug seems to be more popular these days, a bit faster due to its
async behaviour, and possibly a little more minimalist.

Diffstat:
M.vim/.gitignore | 6++++++
M.vim/Makefile | 4++++
M.vim/vimrc | 30++++++++++++++----------------
3 files changed, 24 insertions(+), 16 deletions(-)

diff --git a/.vim/.gitignore b/.vim/.gitignore @@ -1,4 +1,10 @@ +# vim-plug +autoload/plug.vim +plugged + +# vundle bundle + .netrwhist *.spl *.sug diff --git a/.vim/Makefile b/.vim/Makefile @@ -5,3 +5,7 @@ install: vundle: mkdir -p bundle git clone https://github.com/VundleVim/Vundle.vim.git bundle/Vundle.vim + +vim_plug: + curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim diff --git a/.vim/vimrc b/.vim/vimrc @@ -2,24 +2,22 @@ set nocompatible set encoding=utf-8 filetype off -set rtp+=~/.vim/bundle/Vundle.vim -call vundle#begin() -Plugin 'VundleVim/Vundle.vim' -Plugin 'rhysd/vim-clang-format' -Plugin 'spacehi.vim' " Highlight bad whitespace -Plugin 'vimwiki/vimwiki' +call plug#begin('~/.vim/plugged') +Plug 'rhysd/vim-clang-format' +Plug 'vim-scripts/spacehi.vim' " Highlight bad whitespace +Plug 'vimwiki/vimwiki' " Language support plugins. -Plugin 'nathangrigg/vim-beancount' -Plugin 'cespare/vim-toml' -Plugin 'dart-lang/dart-vim-plugin' -Plugin 'fatih/vim-go' -Plugin 'google/vim-ft-bzl' -Plugin 'lervag/vimtex' -Plugin 'keith/swift.vim' -Plugin 'rust-lang/rust.vim' -Plugin 'https://gn.googlesource.com/gn', { 'rtp': 'misc/vim' } -call vundle#end() +Plug 'nathangrigg/vim-beancount' +Plug 'cespare/vim-toml' +Plug 'dart-lang/dart-vim-plugin' +Plug 'fatih/vim-go' +Plug 'google/vim-ft-bzl' +Plug 'lervag/vimtex' +Plug 'keith/swift.vim' +Plug 'rust-lang/rust.vim' +Plug 'https://gn.googlesource.com/gn', { 'rtp': 'misc/vim' } +call plug#end() filetype plugin indent on " Bind fancier manpage plugin to Shift-k.