Home Download Buy Blog Forum Support

A more configurable minimap

A more configurable minimap

Postby sublimated on Thu Jan 12, 2012 8:02 pm

I don't know how it is for others, but for me, the minimap is more cool than useful. At least, I ddon't use it as much as I think I could.

The first problem is it's on the right side, and for obvious reasons, I tend to look mainly at the left side of the window. Being on the peripheral of my vision sort of puts it out of contention. (Like most monitors nowadays, mine is 16:10; at least it's not 16:9, which is idiotic.) If I have to look at it rather than having it in line of sight, it means I don't make use of it. Conversely, I don't need the file tree in my line of sight; I only need to look at it when I go to open a file. Therefore, I'd prefer to switch position of the sidebar and minimap. Of course this makes scrolling the minimap a bit awkward, as it's not customary to scroll from the left side, but you can't have everything :)

The second drawback is it is too narrow. I use largish font, and the larger your font size the more the minimap shrinks. I guess this makes sense in term of preserving screen real estate, or there's possibly a performance reason behind it, but it means that paradoxically the bigger you need your font to be, i.e., the worse your eyesight is, the narrower the minimap will be making it even less useful. My screen is 1650px wide and the minimap is ~100px wide.

Lastly, it is usually too zoomed out. Most files I edit are short ~ 200 lines or less., I'd prefer to have it more zoomed in most of the times to so I can see more, particularly search highlight.

I'd love to see the width and zoom level of the minimap be more configurable, like emacs'


They also have some interesting additional features like displaying function names in full. I don't know how well it works in actuality ...

Attached is a screenshot of my minmap for comparison.

I realize many (or even most) people are perfectly happy with the minimap as is, and I think Jon mentioned before it's a performance issue. But I think you can leave the defaults as they are, and let people change them with the caveat that performance may become unacceptable with anything other than the defaults. Machines are getting beefier all the time, so why impose a constraint based on a reasonable "average."
minimap.png (140.65 KiB) Viewed 6194 times
Posts: 13
Joined: Sun Dec 18, 2011 3:58 pm

Re: A more configurable minimap

Postby tanepiper on Fri Jan 13, 2012 9:17 am

I agree - I do love the minimap, and it helps where I can see the blocks in my code - make navigation much easier. But I also do agree it could do with some love, and be a bit more customisable and allow for zooming levels.
Posts: 67
Joined: Sun Nov 06, 2011 6:40 am

Re: A more configurable minimap

Postby dsarch on Mon Jan 16, 2012 4:30 pm


@jps, can you take a look at this ? I got a matte screen macbook with a hiper resolution which is forcing me to increase font sizes and i noticed two things:

- minimap font does not seem to be configurable
- sidebar font size also can not be changed

Is there any api or theme config that we can use ?

Thank you !
Posts: 62
Joined: Tue May 03, 2011 2:31 am

Re: A more configurable minimap

Postby sublimated on Tue Jan 17, 2012 7:24 pm

you can change the sidebar font size. In your .sublime-theme, look for "class": "sidebar_label" and add "font.size": nn
Posts: 13
Joined: Sun Dec 18, 2011 3:58 pm

Re: A more configurable minimap

Postby apokas on Thu Dec 11, 2014 6:04 pm

I know this is a very old thread, but I came here to ask exactly the same thing as the OP.
Is this something I can do in the newer version of Sublime, or is there a package to help me with this?

Thank you in advance,
Posts: 1
Joined: Thu Dec 11, 2014 6:00 pm

Re: A more configurable minimap

Postby FichteFoll on Sat Dec 27, 2014 5:17 pm

No, the minimap hasn't been touched in a while except for a few options for the "currently visible section" and drag behavior.
Posts: 876
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 15 guests