minimap.el - Minimap sidebar in Emacs

View: New views
3 Messages — Rating Filter:   Alert me  

minimap.el - Minimap sidebar in Emacs

by David Engster :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This file is an implementation of a minimap sidebar, e.g., a smaller
display of the current buffer on the left side. It highlights the
currently shown region and updates its position automatically.

Currently, this is more a 'proof of concept', but I think it's already
usable. The main problem would be to make the sidebar stick with the
main window, which currently not really possible in Emacs, but AFAIK
people are working on such a feature for the ECB merge.

See this Wiki page (which started it all) for a Screenshot:

http://www.emacswiki.org/emacs-en/ThingsEmacsCannotDo

-David



_______________________________________________
gnu-emacs-sources mailing list
gnu-emacs-sources@...
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

minimap.el (3K) Download Attachment

Re: minimap.el - Minimap sidebar in Emacs

by Joakim Verona :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David Engster <deng@...> writes:

> This file is an implementation of a minimap sidebar, e.g., a smaller
> display of the current buffer on the left side. It highlights the
> currently shown region and updates its position automatically.

Very cool! I had in mind doing something like this for some time, but
you beat me to it :)

>
> Currently, this is more a 'proof of concept', but I think it's already
> usable. The main problem would be to make the sidebar stick with the
> main window, which currently not really possible in Emacs, but AFAIK
> people are working on such a feature for the ECB merge.
>
> See this Wiki page (which started it all) for a Screenshot:
>
> http://www.emacswiki.org/emacs-en/ThingsEmacsCannotDo
>
> -David
>
>
> _______________________________________________
> gnu-emacs-sources mailing list
> gnu-emacs-sources@...
> http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
--
Joakim Verona


_______________________________________________
gnu-emacs-sources mailing list
gnu-emacs-sources@...
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Re: minimap.el - Minimap sidebar in Emacs

by David Engster :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 <joakim@...> writes:
> David Engster <deng@...> writes:
>
>> This file is an implementation of a minimap sidebar, e.g., a smaller
>> display of the current buffer on the left side. It highlights the
>> currently shown region and updates its position automatically.
>
> Very cool! I had in mind doing something like this for some time, but
> you beat me to it :)

:-)

I've fixed some stuff and added new features.

You can now navigate in the minimap by dragging the highlighted region
with the mouse, which scrolls the corresponding buffer. It's not
perfect, but I think it works pretty well.

I've added a new option to automatically recenter the minimap upon
cursor movement, and an existing minimap is reused if its buffer isn't
currently visible. Last not least, the minimap is now read-only.

You can get the latest version from

http://randomsample.de/minimap.el

Regards,
David



_______________________________________________
gnu-emacs-sources mailing list
gnu-emacs-sources@...
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources