Neovim, but it’s in Windows
Shubham Sourabh
2 min read
I have had always been fan of neovim, but i have always used it in linux, but now i want to use this on Windows.
Here i will document how you can install and use neovim on Windows.
- First install neovim from neovim on windows
- You can use Winget or Chocolatey to install neovim
- After installing neovim, you can use it from command prompt or powershell
- If you are getting error like
nvim
is not recognized as an internal or external command, then you need to add neovim to your path - You can add neovim to your path by running this command in powershell
$env:Path += ";C:\Program Files\Neovim\bin"
- Now you can use neovim from command prompt or powershell
Now we need some nvim config to utilise it to its full potential -
- First we need to create a config file for neovim
- You can create a config file by running this command in powershell
mkdir "$env:LOCALAPPDATA\nvim" nvim "$env:LOCALAPPDATA\nvim\init.vim"
- Or better you can use Kickstart.nvim to create a config file for you.
- Run this command in powershell to create a config file using Kickstart.nvim
git clone https://github.com/nvim-lua/kickstart.nvim.git $env:LOCALAPPDATA\nvim\
- now Start neovim, you'll see packages are getting installed
- Now you have a config file for neovim, you can start using it.
Useful commands for neovim -
- You can install plugins using
:PackerInstall
command in neovim - You can update plugins using
:PackerUpdate
command in neovim - You can remove plugins using
:PackerClean
command in neovim - You can search for plugins using
:PackerSearch
command in neovim - You can see the status of plugins using
:PackerStatus
command in neovim - You can see the logs of plugins using
:PackerLog
command in neovim - You can see the help of packer using
:h packer
command in neovim - You can see the help of packer using
:h packer-config
command in neovim - You can see the help of packer using
:h packer-commands
command in neovim - You can see the help of packer using
:h packer-profiles
command in neovim - You can see the help of packer using
:h packer-compile
command in neovim - You can see the help of packer using
:h packer-config
command in neovim
0
Subscribe to my newsletter
Read articles from Shubham Sourabh directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Shubham Sourabh
Shubham Sourabh
Sipping lattes, diving into Linux, conquering Leetcode, and Lifting spirits (and weights) along the way! 🚀