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 730
  • Win 554
  • OS X 100
  • Linux 76
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 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1
Windows 1 0 4 0 2 3 1 2 1 1 0 2 3 1 3 1 0 4 2 1 4 2 2 1 0 2 3 0 0 2 0 0 2 0 3 3 2 1 2 1 1 2 0 1 0
OS X 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 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0
Linux 0 0 0 0 0 1 0 2 0 0 0 1 0 1 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 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