Bleeding Fingers
Bleeding Fingers

Reputation: 7129

How to achieve this in Emacs?

I saw the feature shown and described below in Sublime Text and was curious to know how does one achieve it in Emacs?

What I want to achieve in Emacs

A brief description of the feature:

Have a condensed view of the entire code/text file currently opened and highlight the region, in the very same condensed view, which is currently being viewed. Clicking on any part of the condensed view would bring that part in focus.

Although I know, almost certainly, that I would rarely use this feature since it would be, in my view, a estate hog, considering the fact that I have even had my scroll-mode disabled, but still I am curious to know how it can be done in Emacs.

And yeah I went through(skimmed) Sublime's feature list to find the name of the feature, so that I could then try to find it for Emacs, but couldn't. Therefore, another question: What's this feature called?

Original source of the image above.

Upvotes: 1

Views: 813

Answers (1)

Alex Vorobiev
Alex Vorobiev

Reputation: 4359

There is MiniMap package. From EmacsWiki:

  • Put minimap.el in your load path.
  • (require 'minimap)
  • Use M-x minimap-create in a buffer you’re currently editing.
  • Use M-x minimap-kill to kill the minimap.
  • Use M-x customize-groupRETminimap RET to adapt minimap to your needs.

Upvotes: 8

Related Questions