- Create a file named "Microsoft.PowerShell_profile.ps1" under the following folder: "C:\Users[user-name]\Documents\WindowsPowerShell"
- Append the following function:
function cdnvim {
cd "C:\Users\[user-name]\AppData\Local\nvim"
}
- in the Windows PowerShell, call the command
cdnvim
https://medium.com/@tsukinoko/neovim-on-windows-wsl-4f9fe7bcb95c