add vim-lastplace
[webi-installers/.git] / vim-lastplace / install.ps1
diff --git a/vim-lastplace/install.ps1 b/vim-lastplace/install.ps1
new file mode 100644 (file)
index 0000000..749d400
--- /dev/null
@@ -0,0 +1,6 @@
+#!/usr/bin/env pwsh
+
+New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -Force
+
+Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-lastplace" -Recurse -ErrorAction Ignore
+& git clone --depth=1 https://github.com/farmergreg/vim-lastplace.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-lastplace"