ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Open in Default Application

by SublimeText ST3

Sublime Text plugin to open files in the system default application

Details

Installs

  • Total 5K
  • Win 2K
  • Mac 1K
  • Linux 1K
May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10
Windows 0 0 0 2 1 0 0 0 0 0 3 0 0 2 0 2 0 0 0 0 0 0 0 2 1 0 0 0 1 0 1 0 0 0 0 1 1 0 1 1 0 0 0 1 1 1
Mac 1 0 0 2 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 2 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0
Linux 0 1 0 1 1 0 0 0 0 0 0 0 2 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 1 0 0 2 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Open in Default Application

This package adds a command to the side bar menu, the tab context menu and the command palette to open a file or directory in the system default application.

System Notes

On Linux, xdg-open is used which most up-to-date desktop distributions should provide. If you wish to use a different opening utility, this preference can be overridden by editing your settings for this package:

{
    "open_command": "<your opening command>"
}

On Windows, os.startfile is used which calls the proper Win32 shell functions; on Mac OS X, the open utility is used.