Last active
August 13, 2024 13:15
-
-
Save bblanchon/b558d7bac8bc46dfe6d97c79579131a9 to your computer and use it in GitHub Desktop.
Add "Open with Sublime Merge" to Windows Explorer context menu
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\shell\smerge] | |
; %PROGRAMFILES%\Sublime Merge\sublime_merge.exe | |
"Icon"=hex(2):25,00,50,00,52,00,4f,00,47,00,52,00,41,00,4d,00,46,00,49,00,4c,\ | |
00,45,00,53,00,25,00,5c,00,53,00,75,00,62,00,6c,00,69,00,6d,00,65,00,20,00,\ | |
4d,00,65,00,72,00,67,00,65,00,5c,00,73,00,75,00,62,00,6c,00,69,00,6d,00,65,\ | |
00,5f,00,6d,00,65,00,72,00,67,00,65,00,2e,00,65,00,78,00,65,00,00,00 | |
@="Open with Sublime Merge" | |
[HKEY_CLASSES_ROOT\Directory\shell\smerge\command] | |
; "%PROGRAMFILES%\Sublime Merge\sublime_merge.exe" "%1" | |
@=hex(2):22,00,25,00,50,00,52,00,4f,00,47,00,52,00,41,00,4d,00,46,00,49,00,4c,\ | |
00,45,00,53,00,25,00,5c,00,53,00,75,00,62,00,6c,00,69,00,6d,00,65,00,20,00,\ | |
4d,00,65,00,72,00,67,00,65,00,5c,00,73,00,75,00,62,00,6c,00,69,00,6d,00,65,\ | |
00,5f,00,6d,00,65,00,72,00,67,00,65,00,2e,00,65,00,78,00,65,00,22,00,20,00,\ | |
22,00,25,00,31,00,22,00,00,00 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\smerge] | |
; %PROGRAMFILES%\Sublime Merge\sublime_merge.exe | |
"Icon"=hex(2):25,00,50,00,52,00,4f,00,47,00,52,00,41,00,4d,00,46,00,49,00,4c,\ | |
00,45,00,53,00,25,00,5c,00,53,00,75,00,62,00,6c,00,69,00,6d,00,65,00,20,00,\ | |
4d,00,65,00,72,00,67,00,65,00,5c,00,73,00,75,00,62,00,6c,00,69,00,6d,00,65,\ | |
00,5f,00,6d,00,65,00,72,00,67,00,65,00,2e,00,65,00,78,00,65,00,00,00 | |
@="Open with Sublime Merge" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\smerge\command] | |
; "%PROGRAMFILES%\Sublime Merge\sublime_merge.exe" "%V" | |
@=hex(2):22,00,25,00,50,00,52,00,4f,00,47,00,52,00,41,00,4d,00,46,00,49,00,4c,\ | |
00,45,00,53,00,25,00,5c,00,53,00,75,00,62,00,6c,00,69,00,6d,00,65,00,20,00,\ | |
4d,00,65,00,72,00,67,00,65,00,5c,00,73,00,75,00,62,00,6c,00,69,00,6d,00,65,\ | |
00,5f,00,6d,00,65,00,72,00,67,00,65,00,2e,00,65,00,78,00,65,00,22,00,20,00,\ | |
22,00,25,00,56,00,22,00,00,00 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you this worked