From a3ac24b8d999572e69dc1520f0be911963490a3a Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 16 May 2017 12:29:40 +0100 Subject: [PATCH] Move vim into the userprofile directory --- windows.reg | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/windows.reg b/windows.reg index f769837..be5017f 100644 --- a/windows.reg +++ b/windows.reg @@ -7,21 +7,21 @@ Windows Registry Editor Version 5.00 @="Edit with Vim" [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\gvim\command] -; Maps to "\"%LOCALAPPDATA%\\vim\\vim80\\gvim.exe" \"%1\"" -@=hex(2):22,00,25,00,4c,00,4f,00,43,00,41,00,4c,00,41,00,50,00,50,00,44,00,41,\ - 00,54,00,41,00,25,00,5c,00,76,00,69,00,6d,00,5c,00,76,00,69,00,6d,00,38,00,\ - 30,00,5c,00,67,00,76,00,69,00,6d,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,\ - 00,25,00,31,00,22,00,00,00 +; Maps to "\"%USERPROFILE%\\Apps\\vim\\vim80\\gvim.exe" \"%1\"" +@=hex(2):22,00,25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\ + 00,45,00,25,00,5c,00,41,00,70,00,70,00,73,00,5c,00,76,00,69,00,6d,00,5c,00,\ + 76,00,69,00,6d,00,38,00,30,00,5c,00,67,00,76,00,69,00,6d,00,2e,00,65,00,78,\ + 00,65,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00 [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\gvim-ro] @="View with Vim (read-only)" [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\gvim-ro\command] -; Maps to "\"%LOCALAPPDATA%\\vim\\vim80\\gvim.exe" -R \"%1\"" -@=hex(2):22,00,25,00,4c,00,4f,00,43,00,41,00,4c,00,41,00,50,00,50,00,44,00,41,\ - 00,54,00,41,00,25,00,5c,00,76,00,69,00,6d,00,5c,00,76,00,69,00,6d,00,38,00,\ - 30,00,5c,00,67,00,76,00,69,00,6d,00,2e,00,65,00,78,00,65,00,22,00,20,00,2d,\ - 00,52,00,20,00,22,00,25,00,31,00,22,00,00,00 +; Maps to "\"%USERPROFILE%\\Apps\\vim\\vim80\\gvim.exe" -R \"%1\"" +@=hex(2):22,00,25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\ + 00,45,00,25,00,5c,00,41,00,70,00,70,00,73,00,5c,00,76,00,69,00,6d,00,5c,00,\ + 76,00,69,00,6d,00,38,00,30,00,5c,00,67,00,76,00,69,00,6d,00,2e,00,65,00,78,\ + 00,65,00,22,00,20,00,2d,00,52,00,20,00,22,00,25,00,31,00,22,00,00,00 ;======================================================================= ; Define "Vim" file type to open with gVim @@ -33,11 +33,11 @@ Windows Registry Editor Version 5.00 @="Open" [HKEY_CURRENT_USER\SOFTWARE\Classes\Vim\shell\open\command] -; Maps to "\"%LOCALAPPDATA%\\vim\\vim80\\gvim.exe" \"%1\"" -@=hex(2):22,00,25,00,4c,00,4f,00,43,00,41,00,4c,00,41,00,50,00,50,00,44,00,41,\ - 00,54,00,41,00,25,00,5c,00,76,00,69,00,6d,00,5c,00,76,00,69,00,6d,00,38,00,\ - 30,00,5c,00,67,00,76,00,69,00,6d,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,\ - 00,25,00,31,00,22,00,00,00 +; Maps to "\"%USERPROFILE%\\Apps\\vim\\vim80\\gvim.exe" \"%1\"" +@=hex(2):22,00,25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\ + 00,45,00,25,00,5c,00,41,00,70,00,70,00,73,00,5c,00,76,00,69,00,6d,00,5c,00,\ + 76,00,69,00,6d,00,38,00,30,00,5c,00,67,00,76,00,69,00,6d,00,2e,00,65,00,78,\ + 00,65,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00 ;======================================================================= ; Vim file