ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Toggle Sidebar and Reveal Current File

by stuartelimu ALL

A Sublime Text 3 plugin to toggle sidebar and reveal file

Labels sidebar, toggle

Details

Installs

  • Total 26
  • Win 17
  • Mac 6
  • Linux 3
Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8
Windows 0 0 0 1 2 0 1 2 2 0 1 1 2 3 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 1 0 0 0 1 0 0 0 0 2 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

toggle-sidebar-and-reveal-file

A Sublime Text 3 plugin to toggle sidebar and reveal current file

Installation

  1. Using Package Control, install “Clipboard Manager”
  2. Install keymaps for the commands (see Example.sublime-keymap for my preferred keys)

You need to override the toggle sidebar command. Open Preferences > Key Bindings and add this snippet

{ "keys": ["super+k", "super+b"], "command": "toggle_sidebar_and_reveal_file" },

Usage

super+k, super+b : toggle and reveal current file in the sidebar.

Note

  • If it's a new window, nothing happens
  • If the sidebar is open, and the current file is already reveal, it will simply close the sidebar

Contribute

You can always send a pull request or create an issue.