Transfer from http://www.turen.me/archives/509
Sublime Text 2 is now very popular editor, not only in the Web front-end, in the book to set a simple PHP, JS and other code, but also quite easy to use, and then with a variety of plug-ins and novel interface, but also let people can not stop.
When using, we like to open a file, right-click and then choose to open the program, such as will use Notepad, notedpad++ and the like, at this time if the sublime text also added to it after all will be convenient, after looking for a few, the experiment success, the effect is as follows:
It's also easy to implement:
1. Open the registry and start → Run →regedit
2. Under Hkey_classses_root→*→shell, create a new item named Edit with Sublime Text
3. In the new string value named Icon, the value "Sublime text is located in the path, 0″, I am here D:\Program Files (x86) \sublime text 2\sublime_text.exe,0
:
4. In Edith with Sublime text, under new command, enter a value of D:\Program Files (x86) \sublime text 2\sublime_text.exe%1 in the default
:
Finished, without restarting, can see the effect immediately, Enjoy it!
(turn) Add Sublime Text 2 to the right-click menu (with icon), Edit with Sublime text