Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 1.63 KB

README.md

File metadata and controls

55 lines (46 loc) · 1.63 KB

RC Files

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.

Dependencies

Best to run with the following installed:

  • VIM > 8.2
  • NodeJS with yarn (via npm)

Post-Install Setup

After initial provisioning, within vim various plugins will need to be initialised and set up.

For vim-plug

In vim, install all Plug extensions first:

:PlugInstall

For CoC for vim

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.

CoC .NET - C#

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/"]
        }
    }
}

For vim-go

Install Go binaries!

:GoInstallBinaries