Neovim setup for both windows and linux. My primary focus is to have an environment that I can use both at work in Windows and at home in Linux.
Important
This requires version 0.12+ of neovim
- 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-configCreate 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- git
- nodejs
Clone this repo to your user directory or wherever you store your source files 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.
ln -s ~\.config\nvim ~\nvim-configcurl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.tar.gz
sudo rm -rf /opt/nvim-linux-x86_64
sudo tar -xzf nvim-linux-x86_64.tar.gz