You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In trying to use minimap with large org-mode documents, I noticed the following issues:
Nothing happens when minimap is first enabled. The status bar claims that is enabled, but nothing changes visibly. Maybe an error message instead, would be more helpful? This can be resolved by manually enabling for text-mode per Broken with emacs 25..1 #14:
(setq minimap-major-modes '(prog-mode text-mode))
Long lines are not wrapped, as they are in org mode, which makes it hard to associate with the main buffer.
Line height is too big. It seems to match the line height for the corresponding lines in the main buffer.
I have a workaround for for the first item. Do you have any suggestions for the other two?
A solution for 2 is to turn on visual-line-mode in the minimap buffer! You could probably write something to make that happen automatically, but I haven't figured out how to target the minimap buffer effectively yet. It does make scrolling a bit slower, but it works.
Activity
plu5 commentedon Mar 14, 2021
A workaround for 3 is to turn off
org-indent-modetefkah commentedon Apr 26, 2021
A solution for 2 is to turn on
visual-line-modein the minimap buffer! You could probably write something to make that happen automatically, but I haven't figured out how to target the minimap buffer effectively yet. It does make scrolling a bit slower, but it works.nazzacode commentedon Jun 27, 2023
toggling
visual-line-modehas no effect for me.