CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 915
Add a sidebar component that shows a reduced map of the code #781

Description
After switching from Sublime Text to this editor, I have found that the minimap, a feature present in Sublime Text which I used a lot, was lacking. It would be nice if a feature like this was implemented. The idea is that a sidebar would be added that would contain a map of the code with a smaller font size (it is not meant to be readable). The map would show a fixed number of lines, and the part of the file currently shown would be highlighted with a different background color. Clicking on an area or dragging would act as if the minimap was a scrollbar.
This could not use the current sidebar system, because it would probably be preferable to have it be specific to the buffer. However, showing it for all the open buffers could take a lot of space. Sublime Text has a item in the view menu that allows it to be shown or hidden, but a setting to show it would be interesting here as well. It would allow, using :editor.active
, making the minimap only show for the active buffer, or making it only show for files of a specific type (using :editor.type
).