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

Sidebar​Hover​Toggle

by Skullsneeze ST3

A sublime text 3 plugin that opens and closes the sidebar, based on where your mouse is

Labels sidebar, utilities

Details

Installs

  • Total 12K
  • Win 7K
  • Mac 2K
  • Linux 2K
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 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17
Windows 0 0 0 1 1 1 0 1 1 0 0 0 0 0 2 1 0 0 4 2 0 1 0 0 0 1 1 0 1 0 0 0 1 0 0 1 1 0 0 1 0 3 0 0 0 0
Mac 0 0 0 0 0 1 0 0 0 0 0 0 2 1 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1
Linux 0 1 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 1 0 0 1 1 0 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

SidebarHoverToggle

Opens the sidebar when hovering over your gutter, and closes it when hovering anywhere else

This plugin only works in Sublime text 3 (Build 3124 >), since it uses the native on_hover command.

Dependencies

This package depends on the MouseEventListener package, which is available through package control.

Installation

Note that this plugin has an open pull request to be added to the Package control database. For now please follow the following manual installation instructions (using package control).

  1. Open up sublime, and open the command pallette (cmd + shift + p).
  2. In the dialog, type in “add repo” (without quotes), and select the option “Package Control: Add Repository”.
  3. Next, a new dialog will show up, asking you for the repo URL. Use the following URL https://github.com/Skullsneeze/SidebarHoverToggle.git, and press enter
  4. Once added, open up the command pallette again, and type in “install”, and select the option “Package Control: Install Package”.
  5. Wait for the repositories to be loaded, and once the new dialog shows up, type in “SidebarHoverToggle”, and press enter.
  6. Restart Sublime (quit the app on Mac OS (cmd + q)).

Settings

You can add the following parameters to your sublime Preferences to change the behaviour of this package:

Set wether or not the sidebar is toggled with the hover event

"sidebar_toggle_on_hover": true

Set wether or not the sidebar is toggled with the click event. You must make 1 click to gutter.

"sidebar_toggle_on_click": true

Set wether or not the sidebar should be automatically hidden

"sidebar_toggle_auto_hide": true