Home Download Buy Blog Forum Support

Open folder keyboard shortcut

Open folder keyboard shortcut

Postby wulftone on Thu Mar 29, 2012 12:34 am

Hi,

I use "Open folder..." much more often than "Open file" and I'd like to be able to attach this to a keyboard shortcut, but there currently isn't any way to do this. Can we get this to happen?

Related, why aren't all menu functions assignable to keyboard shortcuts in the config file?

Thanks!
wulftone
 
Posts: 12
Joined: Thu Feb 02, 2012 5:53 am

Re: Open folder keyboard shortcut

Postby C0D312 on Thu Mar 29, 2012 12:51 am

You should really check out Preferences > Key bindings - Default.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Open folder keyboard shortcut

Postby nick. on Thu Mar 29, 2012 12:54 am

The "prompt_open_folder" command should do what you're looking for:
Code: Select all
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_folder" },


In general, you can use sublime.log_commands(True) in the console to see everything that Sublime is doing.
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am

Re: Open folder keyboard shortcut

Postby lucien on Thu Jul 12, 2012 7:15 am

Hi,

What piece of code should I add to open the folder in a new window ?
Actually the code above open the folder in the same window.

Thanks.
lucien
 
Posts: 2
Joined: Thu Feb 02, 2012 12:23 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 20 guests