deprecated in favour of https://github.com/spikegrobstein/neovim-config
This was heavily based on pivotalcommon/vim-config
. Previously it existed as a fork, but it's not only
diverged incredibly far, but also has different goals, so I broke it into its own repository.
This uses vim-plug to manage plugins, and will attempt to install them
by default on the first launch. It does this by checking for the existence of the plugins
directory in your
vim config directory.
This repository only support neovim on Linux, OSX and *BSD.
mkdir -p ~/.config
git clone https://github.com/spikegrobstein/vim-config.git ~/.config/nvim
Then, run:
nvim +PlugInstall +PlugUpdate +qa
Then start up nvim
Updating is relatively straightforward:
cd ~/.config/nvim
git pull --rebase
nvim +PlugInstall +PlugUpdate +CocUpdate +qa
This repo uses coc.vim
. make sure you have nodeJS set up (preferably >=14.x).
You might want to :CocInstall
some or all of the following, depending on what you do.
coc-clangd
-- for C/C++coc-css
-- if you do CSS thingscoc-deno
-- deno.landcoc-eslint
-- javascript lintingcoc-git
-- for git commit completion (ie: conventional changelog)coc-docker
-- dockerfilecoc-elixir
coc-html
coc-json
coc-lua
coc-markdownlint
coc-rust-analyzer
-- Rust!coc-sh
-- integrates well withshellcheck
coc-tsserver
-- for typescript docs + type checkingcoc-yaml
Periodically run :CocUpdate
to get the latest versions of these plugins.
By default, this vim config will use ctrl-p for fuzzy file opening (via <leader>f
), however if it detects
that you've got fzf
installed, it'll use that instead. fzf
is a much faster fuzzy finder that's written in
go and even has tmux integration.
You can install fzf
with the following command:
brew install --head fzf
# then run the following to install the bash additions:
/usr/local/opt/fzf/install