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

  • 1.1.0
  • github.​com
  • 7 years ago
  • 2 hours ago
  • 8 years ago

Installs

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