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

  • 1.0.0
  • github.​com
  • github.​com
  • 11 months ago
  • 21 minutes ago
  • 10 months ago

Installs

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

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.