This is my setup for neovim on windows using windows terminal (no wsl). My primary focus is to have a personalized development environment for HTML, javascript, rust, c#, and powershell.
- git
- nodejs
- vs build tools
Clone this repo to the root of the c drive and symlink it to nvim's expected config location. This makes it easier to maintain rather than having to go into your user folder all the time.
mklink /d c:\Users\{Username}\AppData\local\nvim c:\nvim-config
Create an alias command to first initialize the visual studio developer console, and then launch nvim so that plugins have access to the dev tools. Toss it in the bin directory of nvim so its in your path.
%*
passes through any arguments given to the command
setlocal
if not defined DevEnvDir (
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64
)
nvim %*
endlocal