sublime text : open containing folder

sublime picture sublime · Oct 16, 2013 · Viewed 18.5k times · Source

I'm working on some file in my sublime text 2 editor, and I want to open a folder in which that file resides.

I know there is a 2 step procedure to do this already

step 1: right click and reveal in sidebar (ctrl+shift+r)
step 2: right click on the same file in sidebar and click open containing folder.

I would like to know if there is only one shortcut key to do the same. This is something that I use quite often.

Answer

Dziad Borowy picture Dziad Borowy · Oct 24, 2013

You can add the line below to your Default (Windows).sublime-keymap:

{ "keys": ["ctrl+alt+e"], "command": "open_dir", 
    "args": {"dir": "$file_path", "file": "$file_name"} }