My vim setup, making use of Vim 8's native package support and Git's submodules.
Branching can be used to switch between language support. Inspired by the wonderful @mikesive's vim setup.
This requires Vim 8 or higher.
The following commands assume you're happy to lose any pre-existing configurations.
It also assumes that you are using the Homebrew package manager, and the Zsh shell.
git clone --recursive [email protected]:tjmgregory/.vim.git ~/.vim
chmod +x ~/.vim/install
~/.vim/install
To make RG look more like SilverSearcher when running FZF, add the following to ~/.config/ripgrep/rc:
--colors=line:fg:yellow
--colors=line:style:bold
--colors=path:fg:green
--colors=path:style:bold
--colors=match:fg:black
--colors=match:bg:yellow
--colors=match:style:nobold
The install script will add the function vco
to your path. Each branch of this repo represents a different setup for vim.
i.e. vco go
will setup vim for developing Go.