]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - bootstrap.ps1
Move vim install into dedicated script.
[dotfiles.git] / bootstrap.ps1
index 2dab24f6090fee1282d5c61f2d2bb7fc605ca9ba..68ea146224156da608f593846ec031629b4b60b8 100644 (file)
@@ -16,6 +16,8 @@ param(
   [switch]$dev_tools,
   [Parameter(Mandatory=$true, HelpMessage="Install Modeling Tools")]
   [switch]$archi,
+  [Parameter(Mandatory=$true, HelpMessage="Install Vim")]
+  [switch]$vim,
 )
 
 # Setup my PowerShell Profile (on Windows)
@@ -78,10 +80,6 @@ if($dev_tools){
   ./install/dev.ps1
 }
 
-PowerShellGet\Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force
-
-choco install vim
-
-# Install vim-plug
-iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
-    ni $HOME/vimfiles/autoload/plug.vim -Force
+if($vim){
+  ./install/vim.ps1
+}