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

Open​Path

by shagabutdinov ST2/ST3

Sublime open file/project folder

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

Sublime OpenPath plugin

Open path in file browser by shortcut and provide API for other plugins to open file browser in os-independent way. Based on openfolder plugin so all cheers to original author.

Installation

This plugin is part of sublime-enhanced plugin set. You can install sublime-enhanced and this plugin will be installed automatically.

If you would like to install this package separately check “Installing packages separately” section of sublime-enhanced package.

Features

  • Open project folder in file browser by hitting shortcut

  • Open current file folder in file browser by hitting shortcut

  • Providing open_path python module for external plugins

Usage

Hit keyboard shortcut to open project or file folder. Map often-used opened folders to your keymap file (command “open_path”, {“path”: “/home/leo”}).

Commands

Description Keyboard shortcuts Command palette
Open project folder f10 OpenPath: Open project folder
Open file folder ctrl+f10 OpenPath: Open file folder

Customize shortcuts

Open preferences->key bindings->user and add your own shortcuts example:

{"keys": ["alt+e"], "command": "open_file_folder"},
{"keys": ["ctrl+alt+e"], "command": "open_project_folder"}

Dependencies

None

API

OpenPath.open_path:

open_path(path)

Opens given path in file manager.