aboutsummaryrefslogtreecommitdiff
path: root/win-nvim.bat
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.bat
parentb20e4e004be74884cc72c57a3128e36fd5177d7a (diff)
downloaddotfiles-553cb2204b0bf27afe13c6332f5679bbd47172a0.tar.gz
dotfiles-553cb2204b0bf27afe13c6332f5679bbd47172a0.zip
Update/Overhaul
Diffstat (limited to 'win-nvim.bat')
-rw-r--r--win-nvim.bat37
1 files changed, 0 insertions, 37 deletions
diff --git a/win-nvim.bat b/win-nvim.bat
deleted file mode 100644
index c99374d..0000000
--- a/win-nvim.bat
+++ /dev/null
@@ -1,37 +0,0 @@
-@echo off
-
-REM Install NeoVim with winget, if not already present on the system
-where nvim >nul 2>nul
-if %errorlevel% neq 0 (
- winget install Neovim.Neovim -q
-)
-
-REM Clone my dotfiles repo
-set dotFilesRoot=%USERPROFILE%\dotfiles
-if not exist "%dotFilesRoot%\." (
- git clone git@github.com:srdusr/dotfiles.git "%dotFilesRoot%"
-)
-
-REM Link NeoVim configuration
-set localConfiguration=%LOCALAPPDATA%\nvim
-set dotfilesConfiguration=%dotFilesRoot%\.config\nvim
-
-if not exist "%localConfiguration%\." (
- mklink /D "%localConfiguration%" "%dotfilesConfiguration%"
-)
-
-REM Clone Packer.nvim, if not already present on the system
-set localPacker=%LOCALAPPDATA%\nvim-data\site\pack\packer\start\packer.nvim
-
-if not exist "%localPacker%\." (
- git clone https://github.com/wbthomason/packer.nvim "%localPacker%"
-)
-
-REM Run the script by using this command in the same existing directory: win-nvim.bat
-
-@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://aka.ms/install-winget'))"
-iex ((new-object net.webclient).DownloadString('https://aka.ms/install-winget'))
-curl -o winget-cli.appxbundle https://aka.ms/winget-cli-appxbundle
-
-powershell Add-AppxPackage -Path "winget-cli.appxbundle"
-