Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatibility with org-mode #22

Open
m27315 opened this issue Dec 23, 2020 · 3 comments
Open

compatibility with org-mode #22

m27315 opened this issue Dec 23, 2020 · 3 comments

Comments

@m27315
Copy link

m27315 commented Dec 23, 2020

In trying to use minimap with large org-mode documents, I noticed the following issues:

  1. 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))
  1. Long lines are not wrapped, as they are in org mode, which makes it hard to associate with the main buffer.
  2. 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?

Thanks!

@plu5
Copy link

plu5 commented Mar 14, 2021

A workaround for 3 is to turn off org-indent-mode

@tefkah
Copy link

tefkah commented Apr 26, 2021

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.

@nazzacode
Copy link

toggling visual-line-mode has no effect for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants