中文文档请见 这里
There are two ways to install, the first and recommended way is via Package Control:
- Make sure you have
Package Controlinstalled, see https://packagecontrol.io/installation - Search for
Direct OpenusingPackage Controland install
Another way is to clone source from github:
- Browse into your sublime text's package folder
- Run
git clone https://github.com/UniFreak/SublimeDirectOpen.git
There is already a configured Host entry in the setting file, you can add your own file entries according to Host configuration. The file name is configured by title and file path by location, like this:
{
"files":
[
{
"title" : "Host",
"location" : "/etc/hosts"
},
]
}After this, you can then bring up the file selection pop-up by hitting ctrl+shift+o (Windows) or super+shift+o (Mac) and select one file for editing. like this:
Many thanks to the SublimeHostsEdit's author, it inspired me to create this plugin.
