This script sets up several text file associations for gvim on Microsoft Windows. Should work on Windows Vista and up, tested with Windows 10.
- Copy the files
associate-gvim-text-files.bat
andgvim.ico
to the directory wheregvim.exe
is in. - Run
associate-gvim-text-files.bat
; for an unattended install, use the/s
switch.
To remove all traces of associate-gvim-text-files.bat
from your computer, run dissociate-gvim-text-files.bat
; for an unattended uninstall, use the /s
switch.
An adaption of @rossy's mpv-install from mpv to gvim, of which all licenses apply and to whom all credit shall be due.