Sublime Text 3: Open File’s Parent Folder in Linux

April 12, 2013 by aaron
Sublime Text 3: Open File’s Parent Folder in Linux

Here is a very quick script for Sublime Text 3 to open the current file’s parent folder in nautilus for Ubuntu.

Installation is simple: edit the keybind files and save the python script below to the ~/.config/sublime-text-3/Packages/User/ folder. If you are using sublime-text-2 or a different Linux distro, you may need to change your config folder url.

Obviously, you can change Nautilus to be another file manager such as Dolphin or Thunar if you prefer.

In your keybindings file:

You can change the key combination to anything you want.

`Here is a very quick script for Sublime Text 3 to open the current file’s parent folder in nautilus for Ubuntu.

Installation is simple: edit the keybind files and save the python script below to the ~/.config/sublime-text-3/Packages/User/ folder. If you are using sublime-text-2 or a different Linux distro, you may need to change your config folder url.

Obviously, you can change Nautilus to be another file manager such as Dolphin or Thunar if you prefer.

[post_thumbnail size=“post-hero”]

In your keybindings file:

You can change the key combination to anything you want.

`

Save the following Sublime Text 3 script in a .py file

``Here is a very quick script for Sublime Text 3 to open the current file’s parent folder in nautilus for Ubuntu.

Installation is simple: edit the keybind files and save the python script below to the ~/.config/sublime-text-3/Packages/User/ folder. If you are using sublime-text-2 or a different Linux distro, you may need to change your config folder url.

Obviously, you can change Nautilus to be another file manager such as Dolphin or Thunar if you prefer.

[post_thumbnail size=“post-hero”]

In your keybindings file:

You can change the key combination to anything you want.

`Here is a very quick script for Sublime Text 3 to open the current file’s parent folder in nautilus for Ubuntu.

Installation is simple: edit the keybind files and save the python script below to the ~/.config/sublime-text-3/Packages/User/ folder. If you are using sublime-text-2 or a different Linux distro, you may need to change your config folder url.

Obviously, you can change Nautilus to be another file manager such as Dolphin or Thunar if you prefer.

[post_thumbnail size=“post-hero”]

In your keybindings file:

You can change the key combination to anything you want.

`

Save the following Sublime Text 3 script in a .py file

``

And the embedded gist:

This script is based entirely on this one for Windows.

comments powered by Disqus

Do you have an awesome idea?

Let us know what you want to create.

Start your project