Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

spikegrobstein/vim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-config (DEPRECATED)

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.

To Install (neovim)

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 (neovim)

Updating is relatively straightforward:

cd ~/.config/nvim
git pull --rebase
nvim +PlugInstall +PlugUpdate +CocUpdate +qa

Coc

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 things
  • coc-deno -- deno.land
  • coc-eslint -- javascript linting
  • coc-git -- for git commit completion (ie: conventional changelog)
  • coc-docker -- dockerfile
  • coc-elixir
  • coc-html
  • coc-json
  • coc-lua
  • coc-markdownlint
  • coc-rust-analyzer -- Rust!
  • coc-sh -- integrates well with shellcheck
  • coc-tsserver -- for typescript docs + type checking
  • coc-yaml

Periodically run :CocUpdate to get the latest versions of these plugins.

FZF support

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

About

[DEPRECATED] vim configuration, focusing on neovim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published