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

Installs

  • Total 12K
  • Win 8K
  • Mac 2K
  • Linux 2K
Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 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
Windows 0 1 0 0 0 0 0 1 0 2 0 0 3 0 0 1 0 1 1 2 0 0 0 1 1 1 0 0 0 0 0 1 0 1 0 0 0 0 2 1 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 2 0 1 0 0 1 0 0 0 0 0 0 0 0 0
Linux 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 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