aboutsummaryrefslogtreecommitdiff
path: root/win-nvim.ps1
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2025-09-24 05:01:20 +0200
committersrdusr <trevorgray@srdusr.com>2025-09-24 05:01:20 +0200
commit553cb2204b0bf27afe13c6332f5679bbd47172a0 (patch)
tree75c86ff018122a682e0afd7a0e2a0228a63e44bd /win-nvim.ps1
parentb20e4e004be74884cc72c57a3128e36fd5177d7a (diff)
downloaddotfiles-553cb2204b0bf27afe13c6332f5679bbd47172a0.tar.gz
dotfiles-553cb2204b0bf27afe13c6332f5679bbd47172a0.zip
Update/Overhaul
Diffstat (limited to 'win-nvim.ps1')
-rw-r--r--win-nvim.ps139
1 files changed, 0 insertions, 39 deletions
diff --git a/win-nvim.ps1 b/win-nvim.ps1
deleted file mode 100644
index ca67755..0000000
--- a/win-nvim.ps1
+++ /dev/null
@@ -1,39 +0,0 @@
-# Install NeoVim with winget, if not already present on the system
-if (!(Get-Command nvim -ErrorAction SilentlyContinue)) {
- winget install Neovim.Neovim
-}
-
-# Clone my dotfiles repo
-$dotFilesRoot = Join-Path $HOME "dotfiles"
-
-if (!(Test-Path $dotFilesRoot -PathType Container)) {
- git clone https://github.com/srdusr/dotfiles.git $dotFilesRoot
-}
-
-# Link NeoVim configuration
-$localConfiguration = Join-Path $env:LOCALAPPDATA "nvim"
-$dotfilesConfiguration = Join-Path $dotFilesRoot ".config" "nvim"
-
-if (!(Test-Path $localConfiguration -PathType Container)) {
- Start-Process -FilePath "cmd.exe" -ArgumentList "/c mklink /D $localConfiguration $dotfilesConfiguration" -Verb runas
-}
-
-# Clone Packer.nvim, if not already present on the system
-$localPacker = Join-Path $env:LOCALAPPDATA "nvim-data" "site" "pack" "packer" "start" "packer.nvim"
-
-if (!(Test-Path $localPacker -PathType Container)) {
- git clone https://github.com/wbthomason/packer.nvim $localPacker
-}
-
-# To allow script execution, run the following command in PowerShell as an administrator:
-# Set-ExecutionPolicy RemoteSigned
-# Then run the script by using this command in the same existing directory:
-# ./win-nvim.ps1
-#curl -o winget-cli.appxbundle https://aka.ms/winget-cli-appxbundle
-#powershell Add-AppxPackage -Path "winget-cli.appxbundle"
-#Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
-#use `-y` or consider: choco feature enable -n allowGlobalConfirmation
-#choco install git
-#- Refresh the environment
-#Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
-#refreshenv