In the footsteps of others, I have decided to start managing my rc or dotfiles so I can easily rebuild my environment.
This repo includes vim
with Pathogen, Plug installed, along with my .gitconfig
,
tmux.conf
and .bashrc
files, etc. It also contains a few setup scripts that helps
me install what I need on new machines very quickly. It may not necessarily apply to
your environment so please use it at your own risk.
Best to run with the following installed:
- VIM > 8.2
- NodeJS with yarn (via npm)
After initial provisioning, within vim
various plugins will need to be initialised and set up.
In vim
, install all Plug extensions first:
:PlugInstall
Install coc
extensions for code completion support:
:CocInstall coc-json coc-tsserver coc-go coc-pyright coc-yaml
More extensions can be found on CoC project.
If code completion is require for C#, install csharp-ls
first:
dotnet tool install -g csharp-ls
Then ensure you've added ~/.dotnet/tools/bin
path to your environment path and finally adding the following to your :CocConfig
{
"languageserver": {
"csharp-ls": {
"command": "csharp-ls",
"filetypes": ["cs"],
"rootPatterns": ["*.csproj", ".vim/", ".git/", ".hg/"]
}
}
}
Install Go binaries!
:GoInstallBinaries