- Make sure you have at least version 8.2 December 2019 release of Vim* or higher.
- Download latest version from here
- Clone this repo:
git clone https://github.com/ayushxx7/dotfiles
- Run
run.batfile withAdmin Priveleges.- In case you don't open the bat in admin mode, it will try to launch itself in Admin mode.
- Once everything is installed, run
:CocInstall coc-pythonto get LSP support for Python.- You can get LSP Support for more languages as well. To know more, click here.
You would most likely need to run the bat file twice,
- as first time chocolatey will be installed,
- and the second time the other dependencies will be installed using chocolatey.
I am looking for a way make this more seamless. Please submit a PR if you can do it for me :)
The Plugin Manger (vim-plug) will attempt to install all plugins automatically.
If that doesn't happen:
- Open up (g/neov)vim, and press enter on all the errors it will throw right now
- Enter this command
:PlugInstall - Relaunch (g/neo)vim
- Setup my vim config
- Install Chocolatey Package Manager.
- Install node, fzf, ripgrep and lazygit using Chocolatey
This package manager helps us install the other dependencies very easily.
CoC uses Node.js for the language servers required for autocompletion.
- Fuzzy file search
ctrl+for:Files - Fuzzy buffer search
<leader>bor:Buffers
- Fuzzy line search
<leader>gor:Rg - Fuzzy line search inside parent Git directory
<leader>Gor:GGrep
- Preview window with syntax highlighting
- Can be used in place of the
catcommand
- opens up a much more pleasing git interface
- shortcuts for doing common git operations
On Windows 7, this batch script fails to execute properly
- You have to install Node.js (v13.14.0) manually from here: Official Releases - Node.js
- You have to install Yarn from here: Yarn Windows Download
- Once you have these installed, run
:CocInstall coc-pythonto get LSP support for Python