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

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

"sidebar_toggle_on_click": true

Set wether or not the sidebar should be automatically hidden

"sidebar_toggle_auto_hide": true