To see where your current file is in the folder sidebar, you can install SyncedSideBar.
However, that has some side effects – sometimes, even if you’ve hidden the sidebar, it pops back up when you switch between files, or search.
Sublime Text 3 has a context menu, with “Reveal in Side Bar” as an option – that highlights the current file in the sidebar (and opens it if it was hidden).
There’s no keyboard shortcut for it by default, but you can add one. Go to to Preferences->Key Bindings-User, and add something like this:
[
{ "keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar"}
]
That’ll make CTRL+Shift+R a shortcut to the reveal command.
How do you get to know what is the command name for a specific action? For example ‘reveal_in_side_bar’ in this case.
I haven’t seen a complete, up-to-date list of commands – see this though:
http://www.sublimetext.com/forum/viewtopic.php?f=2&t=11217
Great tip. Thank you.
I’ve added this to my TextPad-to-Sublime blog post:
http://aliteralmind.wordpress.com/2014/10/02/textpad_to_sublime/
cool
Thank you for sharing code.
Thanks, very useful tip 🙂
Awesome tip. I was getting annoyed with not being able to see my open file in the sidebar.
Hi, I think your blog might be having browser compatibility issues.
When I look at your blog in Safari, it looks fine but when opening in Internet Explorer,
it has some overlapping. I just wanted to give you a quick heads up!
Other then that, fantastic blog!
Thanks Gladis – which IE version did you notice the problem with?
Thanks, that was useful
awesome, thanks, have longed for this
Thank you very much!
YES
Dios! Muchas gracias.
thanks
Yes, thanks!
I followed the instruction but it does not work on shortcut command
magic
For anyone wanting the same for Reveal in Finder:
{
“keys”: [“ctrl+shift+f”],
“command”: “open_dir”,
“args”: { “dir”: “$file_path”, “file”: “$file_name” }
},
Thanks 🙂
Thanks!
I found https://packagecontrol.io/packages/SyncedSideBar which’s also equally promising.