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

Close​Minimap​On​Multi​View

by alkuzad ST2/ST3

SublimeText3 plugin to hide minimap where more than one view is shown

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

Background

This script used to be very hacky with a cache save, and then mighty dev Build 3116 came:

API: Added functions to get/set the minimap, status bar, tabs and menu

Hurray, no more hacking :)

How it works ?

Automatically - just install and whenever you split window to more than 1 views - minimap will close. Go back to single mode and it will show up.

Settings

There is only one setting that controls what layout change should impact minimap hide - by default minimap will be hidden only if more than one column is visible. You can change it to 'rows' only or 'cells' which will trigger for both columns and rows changes

TODO

  1. Still no detection of desired state though - if user started with minimap switched off - it will show back :)