vim

vim config files
git clone https://git.bracken.jp/vim.git
Log | Files | Refs | LICENSE

commit 035f6fec51ad6923bc9293e07a02c30d78a48860
parent 833a2df99170bac8d519df840d636da54701c201
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.gitignore | 6++++++
MMakefile | 4++++
Mvimrc | 30++++++++++++++----------------
3 files changed, 24 insertions(+), 16 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,4 +1,10 @@ +# vim-plug +autoload/plug.vim +plugged + +# vundle bundle + .netrwhist *.spl *.sug diff --git a/Makefile b/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/vimrc b/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.