Skip to content

Instantly share code, notes, and snippets.

@malexandre
Created May 15, 2014 13:02
Show Gist options
  • Save malexandre/0ba2d46544932a858b93 to your computer and use it in GitHub Desktop.
Save malexandre/0ba2d46544932a858b93 to your computer and use it in GitHub Desktop.
Opening file path in terminal from ST3 (path = /home/marc/.config/sublime-text-3/Packages/User/SideBarEnhancements/Open With/)
[
{"id": "side-bar-files-open-with",
"children":
[
{
"caption": "Chrome",
"id": "side-bar-files-open-with-chrome",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "google-chrome",
"extensions":".html" //any file with extension
}
},
{
"caption": "Termin",
"id": "side-bar-files-open-with-console",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "x-terminal-emulator",
"extensions":".*" //any file, not folder (Open/Run open console for folders)
}
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment