This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:setlocal ft=json | %s/,"/,\r"/g | :%s/},/\r},/g | %s/{"/{\r"/g | %s/\S\@<=}/\r}/g | %s/:\S\@=/: /g | %s/,\S\@=/, /g | %normal! == |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET gvimPath=%USERPROFILE%\vim\vim80\gvim.exe | |
rem add it for all file types | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with gvim" /t REG_SZ /v "" /d "Open with gvim" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with gvim" /t REG_EXPAND_SZ /v "Icon" /d "%gvimPath%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with gvim\command" /t REG_SZ /v "" /d "%gvimPath% \"%%1\"" /f | |
rem add it for folders | |
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with gvim" /t REG_SZ /v "" /d "Open with gvim" /f |