I'm specifically talking about the package Spacemacs enables. It creates a tiny square with a horizontal bar, that goes up and down in accordance with your position in the file you have opened. E.g., if you're halfway down the file, the bar would be in the middle of the square.

Also, there's a number beside the square, with a percentage, giving you what percent down the file you are. So, in the above scenario, it'd say 50%.

Does anyone know what this package is, or how to enable this feature?

1 Answer 1


The package is called spaceline. It can be installed via melpa.


  • Thank you! Which segment, however, enables the "mini-map" feature (the bar that slides downward depending on your position)? It's not enabled by default.
    – remacs
    Commented Jan 6, 2020 at 22:14
  • 1
    @remacs spaceline's REDME mentions the feature as "hud: shows the currently visible part of the buffer.", it's provided by powerline.el.
    – xuchunyang
    Commented Jan 7, 2020 at 0:52
  • @xuchunyang Awesome. Thank you.
    – remacs
    Commented Jan 7, 2020 at 1:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.