1

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.

4

1 に答える 1

8

MiniMapパッケージがあります。EmacsWiki から:

  • ロード パスに minimap.el を配置します。
  • (require 'minimap)
  • 現在編集中のバッファで使用M-x minimap-createします。
  • M-x minimap-killミニマップを殺すために使用します。
  • ミニマップを必要に応じて調整するために使用M-x customize-groupRETminimap RETします。
于 2013-06-28T19:15:28.153 に答える