Tech

Windows: Terminal + IDE Setup

July 03, 2024, at 07:29 PM

I've done this so often, its useful to track somewhere.

  1. Install Visual Studio: https://visualstudio.microsoft.com/downloads/
  2. 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
  3. 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
  4. 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}}
    
  5. On the command line - temporarily as an administrator - call: Set-ExecutionPolicy RemoteSigned
    • This allows the .ps1 file to be executed
  6. Restart the terminal

BlogIt Side bar

Recently Written

erika: end hiding comments and categories

erika: end hiding comments and categories

Group-Specific Sidebar

Blix theme adapted by David Gilbert, powered by BlogIt