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
  • 55 minutes ago
  • 8 years ago

Installs

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