Run setup.sh
To configure SSH with Github, see here or here
- Download the right
git
binary, or instead run in Powershell
winget install --id Git.Git -e --source winget
- Now clone this repository using your newly installed
git
(you may have to close and reopen Powershell)
git clone https://github.com/0x7AE3/old-dotfiles
-
Now add windows/unix-commands to the User
PATH
. You should move it to a reasonable location such as your home directory, which is$HOME
in Powershell -
Next install
vim
from here; no way are we building from source on Windows... same withneovim
from here -
Next install
vim-plug
forvim
andneovim
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
ni $HOME/vimfiles/autoload/plug.vim -Force`
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
ni "$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim" -Force`
- Now install Windows Terminal (if not already installed)
winget install Microsoft.WindowsTerminal
-
Now we can ditch the garbage Powershell and use Windows Terminal. Copy .vimrc to the home directory, which is
%USERPROFILE%
in Windows Terminal. Do the same with init.vim to%LOCALAPPDATA%
-
Open a
vim
session and run:PlugInstall
. Do the same innvim
-
Configure
git
with
git config --global user.name "andy d"
git config --global user.email "email@gmail.com"
- To configure SSH with Github, see SSH.md