]> apps.delaporte.us Git - dotfiles.git/commitdiff
Moving stuff around for vim setup
authorEdTheDev <edward@delaporte.us>
Fri, 29 Jan 2021 16:27:00 +0000 (10:27 -0600)
committerEdTheDev <edward@delaporte.us>
Fri, 29 Jan 2021 16:27:00 +0000 (10:27 -0600)
install/admin/favorite-ps-modules.ps1
install/profile.ps1
install/vim.ps1
setup/ReadMe.md [new file with mode: 0644]
setup/vim.ps1 [new file with mode: 0644]

index 214fc3351b3328d70809ef8ec171f68d3c13ee45..ea7faa10dc3b2bbe6341419ab0b3b7c005f56c5e 100644 (file)
@@ -3,4 +3,5 @@
 Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted\r
 \r
 # Install nice Git stuff.\r
 Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted\r
 \r
 # Install nice Git stuff.\r
-Install-Module -Name posh-git
\ No newline at end of file
+Install-Module -Name posh-git\r
+o
\ No newline at end of file
index 22be8ac4163479724e17f0e5f55374c45be42a83..e1061ac3926703eb85285565b777acb7f56361c8 100644 (file)
@@ -40,3 +40,5 @@ else {
 #  # Brute force ensure we update our git copy once in awhile.\r
 #  Copy-Item -Path $destFile -Destination ./profiles.json\r
 #}\r
 #  # Brute force ensure we update our git copy once in awhile.\r
 #  Copy-Item -Path $destFile -Destination ./profiles.json\r
 #}\r
+\r
+PowerShellGet\Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force
\ No newline at end of file
index 4d795524f01cebb322756a1954680278c2accf4f..fc1739764ea7a901f79be03449e3e562ce0f84a3 100644 (file)
@@ -1,26 +1,12 @@
 <#\r
 .SYNOPSIS\r
 \r
 <#\r
 .SYNOPSIS\r
 \r
-Install Vim for Windows in the EdTheDev configuration.\r
-\r
-.DESCRIPTION\r
-\r
-Include Vim-Plug for plugin management.\r
+Install Vim for Windows\r
 \r
 .NOTES\r
 \r
 Requires Chocolatey package manager.\r
 \r
 #>\r
 \r
 .NOTES\r
 \r
 Requires Chocolatey package manager.\r
 \r
 #>\r
-PowerShellGet\Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force\r
-\r
-choco install vim\r
-\r
-# Install vim-plug\r
-iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`\r
-    ni $HOME/vimfiles/autoload/plug.vim -Force\r
-\r
-# Deploy a stub file to source my vimrc when on Windows.\r
-cp win_vimrc ~/.vimrc\r
 \r
 \r
-Write-Host "Be sure to run PlugInstall within Vim."
\ No newline at end of file
+choco install vim
\ No newline at end of file
diff --git a/setup/ReadMe.md b/setup/ReadMe.md
new file mode 100644 (file)
index 0000000..ae371d0
--- /dev/null
@@ -0,0 +1,6 @@
+## Setup ReadMe\r
+\r
+These scripts are to set up or configure a favorite software tool.\r
+See `/install` for scripts to install a favorite software tool.\r
+\r
+You typically want to run these scripts without elevation - **as your preferred login user**.\r
diff --git a/setup/vim.ps1 b/setup/vim.ps1
new file mode 100644 (file)
index 0000000..d8a0aa7
--- /dev/null
@@ -0,0 +1,23 @@
+<#\r
+.SYNOPSIS\r
+\r
+Setup Vim in EdTheDev's preferred configuration.\r
+\r
+.DESCRIPTION\r
+\r
+Installs Vim-Plug for plugin management.\r
+Assumes my local vimrc is sitting in C:\src\dotfiles\r
+\r
+.NOTES\r
+\r
+Be sure to run :PlugInstall within Vim afterwards.\r
+\r
+#>\r
+# Install vim-plug\r
+iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`\r
+    ni $HOME/vimfiles/autoload/plug.vim -Force\r
+\r
+# Deploy a stub file to source my vimrc when on Windows.\r
+cp win_vimrc ~/.vimrc\r
+\r
+Write-Host "Be sure to run PlugInstall within Vim."
\ No newline at end of file