X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=vim-sensible%2Finstall.ps1;fp=vim-sensible%2Finstall.ps1;h=b82a6712bf78b9305ca033884334b6037ad7cf6f;hb=19d5e023ce166b4b7440e64939b75c8e7263a22c;hp=0000000000000000000000000000000000000000;hpb=c887850a8764c2f7c4ceffd81a20b5221d8e7e35;p=webi-installers%2F.git diff --git a/vim-sensible/install.ps1 b/vim-sensible/install.ps1 new file mode 100644 index 0000000..b82a671 --- /dev/null +++ b/vim-sensible/install.ps1 @@ -0,0 +1,7 @@ +#!/usr/bin/env pwsh + +IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) { + New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory +} +Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible" -Recurse -ErrorAction Ignore +& git clone --depth=1 https://tpope.io/vim/sensible.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible"