I've done this so often, its useful to track somewhere.
- Install Visual Studio: https://visualstudio.microsoft.com/downloads/
- Install Windows Terminal: https://apps.microsoft.com/detail/9n0dx20hk701?rtc=1&hl=en-ca&gl=CA
- Set the Developer PowerShell as the default; optionally set the default startup directory to your source folder
- Install vim: https://www.vim.org/download.php#pc
- Be sure to add the .bat so it'll add vim to the command line path
vim ~/.vimrc
then add the following:set nobackup nowritebackup
- This ensures backup ~ files aren't created
vim $PROFILE
- This will create the profile file in the right place. Good content includes:
# Comments go here Set-Alias -Name vi -Value vim # Parameter aliases must use function instead Function aliases {vim ${PROFILE}}
- On the command line - temporarily as an administrator - call:
Set-ExecutionPolicy RemoteSigned
- This allows the .ps1 file to be executed
- Restart the terminal