Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sublime text : open containing folder

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.

like image 487
sublime Avatar asked Oct 16 '13 18:10

sublime


People also ask

What is Open containing folder?

Just Open Containing Folder command is available on right click in the Solution Explorer. It lets you quickly open the containing folder of the selected item.

How do I open multiple folders in Sublime Text?

Open one of the projects in Sublime Text just like you always do. Drag the root directory of the second project from the file explorer to the sidebar of the first project ST window. In your terminal cd to the second project and enter subl . -a .


1 Answers

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"} } 
like image 180
Dziad Borowy Avatar answered Oct 03 '22 04:10

Dziad Borowy