Sublime Text 3 : keyboard shortcut to reveal file in sidebar

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.

26 thoughts on “Sublime Text 3 : keyboard shortcut to reveal file in sidebar”

  1. How do you get to know what is the command name for a specific action? For example ‘reveal_in_side_bar’ in this case.

  2. Pingback: Moving to Sublime Text 3 after fifteen years with TextPad — reasons, comparisons, and tips | aliteralmind — Computer Programming Blog

  3. 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!

  4. Pingback: Sublime Text 3 : ?????????? | ????????

  5. For anyone wanting the same for Reveal in Finder:

    “keys”: [“ctrl+shift+f”],
    “command”: “open_dir”,
    “args”: { “dir”: “$file_path”, “file”: “$file_name” }

  6. Pingback: Reveal in sidebar for sublimetext 3 – Amirmasoud Sheydaei

  7. Wow ! this is super exciting and cool feature. Can someone help with vice versa. I mean how to close the reveal side bar please ………..

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.