dotfiles

Cross platform dotfiles for linux, mac and windows

commit 73ed6170d7d6eff6a81f146376ed086fab85410f
parent 6128ecc7ed791bc061f3912d077152aa970c4a8b
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Wed, 21 Aug 2024 03:39:38 +0530

Add voom.cmd - temporary solution for downloading plugins
1 file changed, 12 insertions(+), 0 deletions(-)
A
.local/bin/cmd/voom.cmd
|
12
++++++++++++
diff --git a/.local/bin/cmd/voom.cmd b/.local/bin/cmd/voom.cmd
@@ -0,0 +1,12 @@
+@echo off
+
+rem TODO Follow the official path preference of airblade/voom
+rem TODO Remove plugins from pack when change is made in the plugins file
+set VIM_PLUGIN_PATH=%USERPROFILE%\.local\share\vim\pack\voom\start
+if NOT EXIST %VIM_PLUGIN_PATH% (
+    mkdir %VIM_PLUGIN_PATH%
+)
+cd %VIM_PLUGIN_PATH%
+for /f "tokens=*" %%i in ('type %USERPROFILE%\.local\share\vim\plugins ^| findstr /v "^#"') do (
+    git clone https://github.com/%%i
+)