1
0

Made config vaguely work on Windows

Added dots.bat script for installing and pulling
Added clink config for cmd
Removed auto-split on start in nvim
Added guifont in nvim
Added workaround for shellpipe in nvim
This commit is contained in:
2025-09-27 21:52:48 +01:00
parent eaf6d47bf8
commit a184195a29
4 changed files with 55 additions and 7 deletions

36
dots.bat Normal file
View File

@@ -0,0 +1,36 @@
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
IF "%1" == "install" (
CALL :Install
) ELSE (
IF "%1" == "pull" (
CALL :Pull
) ELSE (
echo usage: %0 ^<install^|pull^|diff^>
)
)
GOTO :EOF
:Install
echo [Info] :: Installing dotfiles
xcopy /E /I /Y /Q "config\nvim" "%LOCALAPPDATA%\nvim" > NUL
copy /Y "config\starship.toml" "%APPDATA%\" > NUL
copy /Y "config\clink\inputrc" "%LOCALAPPDATA%\.inputrc" > NUL
WHERE /q "starship"
IF %ERRORLEVEL% equ 0 (
IF NOT EXIST "%LOCALAPPDATA%\clink" ( MKDIR "%LOCALAPPDATA%\clink" )
copy "config\clink\starship.lua" "%LOCALAPPDATA%\clink\" > NUL
)
GOTO :EOF
:Pull
echo [Info] :: Pulling dotfile changes
xcopy /E /I /Y "%LOCALAPPDATA%\nvim" "config\nvim"
copy /Y "%APPDATA%\starship.toml" "config\"
copy /Y "%LOCALAPPDATA%\.inputrc" "config\clink\inputrc"
GOTO :EOF