NOTE: This repo is for archive purposes and should not be updated anymore. It's content has been moved to my dotfiles repo
-
Clone the repository into $HOME\vimfiles.
-
Set up symlink to _vimrc file. I did that with the following three command (executed from an administrator access command prompt in the home folder):
mklink /H _vimrc vimfiles\_vimrc
- Make neovim use the correct vimrc. Create or append to file
~\AppData\Local\nvim\init.vim
the following lines
set runtimepath^=~/vimfiles runtimepath+=~/vimfiles/after
let &packpath = &runtimepath
source ~/vimfiles/_vimrc
as described in Neovim docs
- Install vim-plug plugin manager. Following the neovim install instructions here, run the following in a PowerShell:
md ~\AppData\Local\nvim\autoload
$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
(New-Object Net.WebClient).DownloadFile($uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\AppData\Local\nvim\autoload\plug.vim"))
- To install plugins, by running vim and executing the command:
:PlugInstall
Note: Node needs to be installed for coc.nvim extension to work.
-
Install neovim
-
Add symlink to vimrc
mkdir ~/.config/nvim
ln -s ~/vimfiles/_vimrc ~/.config/nvim/init.vim
- If you want to use terminal tabs instead of Qt based tabs in nvim-qt, create or append to file
~\AppData\Local\nvim\ginit.vim
the following line
GuiTabline 0
- If you want to use terminal popup menu instead of Qt based menu in nvim-qt, create or append to file
~\AppData\Local\nvim\ginit.vim
the following line
GuiPopupmenu 0
- node required for coc extension. Install using node verion manager (nvm) or
choco install nodejs
-
Preferred font Consolas NF
-
For coc-fzf
choco install fzf
- For colors in coc-fzf window
choco install bat
- For grepping with ripgrep (rg)
choco install ripgrep
:h startify
:h startify-faq
:SLoad "load a session
:SSave[!] "save a session
:SDelete[!] "delete a session
:SClose "close a session
:GuiFont " get current font
:GuiFont Consolas:h12:b " set font, font height, and font style (l: light, b: bold, i: italics)