3 IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) {
4 New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -Force | out-null
6 Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible" -Recurse -ErrorAction Ignore
8 # Note: we've had resolution issues in the past, and it doesn't seem likely that tpope
9 # will switch from using GitHub as the primary host, so we skip the redirect
10 # and use GitHub directly. Open to changing this back in the future.
11 #$sensible_repo = "https://tpope.io/vim/sensible.git"
12 $sensible_repo = "https://github.com/tpope/vim-sensible.git"
13 & git clone --depth=1 "$sensible_repo" "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible"