zed icon indicating copy to clipboard operation
zed copied to clipboard

No way to configure the minimap's font-size and width.

Open aurexav opened this issue 7 months ago • 3 comments

Summary

As describe in https://github.com/zed-industries/zed/pull/26893, we should able to adjust these values.

image

No way to configure the font-size and width.

Zed Version and System Specs

Zed: v0.187.5 (Zed) OS: macOS 15.5.0 Memory: 64 GiB Architecture: aarch64

aurexav avatar May 22 '25 01:05 aurexav

would also be nice to have the option of disabling the thumb if possible. thanks for adding this feature, looks great!

nealxm avatar May 22 '25 22:05 nealxm

To give this a quick heads-up: It was decided within the PR that neither will be exposed for now. We figured that giving control over these configs like this would only lead to issues in the future and that the setting would definitely have to be changed afterwards, hence we did not even add them at first. Something like this will come eventually, but not immediately, as there are some oustanding questions regarding the topic (e.g. whether a fixed font size/width are actually reasonable or whether these should scale in some way).

Sadly, this was not accounted for in the release notes and nobody updated the PR description since. The docs accurately reflect what is available and, eventually, this will be improved upon.


@nealxm Something like this can be easily done, curious though as to how this would benefit you and how other things should behave then - should you still be able to scroll and how would you know where you are? It could be added, but would like to have some more insights first if possible.

MrSubidubi avatar May 24 '25 18:05 MrSubidubi

now that you mention it, removing the thumb is probably a pretty niche request. regarding how it would benefit me, I just like less interactive things on my screen. for context i'm someone who's disabled all buttons in the ui along with all scrollbars and tabs. regarding behavior, I would prefer the resulting behavior from disabling the thumb to be zero interaction with the minimap so no scrolling behavior.

nealxm avatar May 26 '25 13:05 nealxm

@nealxm if you just want the thumb to be invisible, then you can set the opacity of your thumb's background color to 00 and it will effectively be hidden. This is what it looks like in my test theme (with a subtle outline kept to show the thumb position).

Image

The setting here was

"minimap.thumb.background": "#66d9ff00",

and the full group of settings are these (you'll have to adjust the colors/opacity to your liking)

"minimap.thumb.active_background": "#66d9ff40",
"minimap.thumb.background": "#66d9ff10",
"minimap.thumb.border": "#66d9ff10",
"minimap.thumb.hover_background": "#66d9ff30",

JacobCallahan avatar Jun 10 '25 13:06 JacobCallahan

Still would love the option to render text as blocks. It's just clearer and offered by every other editor. Image

Had many upvotes in the original minimap issue too.

wzxu avatar Aug 01 '25 02:08 wzxu

Hi there! 👋 We're working to clean up our issue tracker by closing older bugs that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and it will be kept open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, it will close automatically in 14 days. Thanks for your help!

github-actions[bot] avatar Nov 19 '25 11:11 github-actions[bot]

Not stale. I would also appreciate this functionality, as a mini-map that does not show the entirety of the file (the current scale seems to show about 400 lines on my setup) is not very useful for providing an overview of the file's structure or the position within it.

nt8r avatar Nov 25 '25 20:11 nt8r