Skip to content
Atom package to automatically hide the mini-map when you aren't using it.
Branch: master
Clone or download
Pull request Compare This branch is 22 commits ahead, 3 commits behind jayk:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gifs
lib
spec add a lib to install minimap if not already installed, replaced eslin… Dec 19, 2018
styles add a lib to install minimap if not already installed, replaced eslin… Dec 19, 2018
.gitattributes add a lib to install minimap if not already installed, replaced eslin… Dec 19, 2018
.gitignore
.gitlab-ci.yml add a lib to install minimap if not already installed, replaced eslin… Dec 19, 2018
CHANGELOG.md done trying to get the unit tests to pass, they've got weirdness with… Feb 4, 2018
LICENSE.md Initial commit May 15, 2015
README.md
package-lock.json 1.6.0 Dec 19, 2018
package.json 1.6.0 Dec 19, 2018

README.md

minimap-autohider

Hide your minimap until you need it.

Forked from jayk/minimap-autohide

When editing normally, you have the entire window for your editor. As soon as you begin to scroll, the minimap appears and you can interact with it normally.

Default Autohide Behavior

By default, the minimap will be hidden when not scrolling, and will slide out when scrolling. The minimap will slide in for 100ms, stay until you have not scrolled for 1500ms, and slide out for 100ms. The above times can be customized in the settings page for this package. For example, you could slow down the time to slide in to 500ms, and slide back out after 1000ms. You can also move the minimap to the left via minimap's settings, which was not supported in the original package.

Modified Autohider Behavior

This forked version also transforms the position of the minimap based on translateX rather than left. This should mean much smoother transitions, and a little less work atom has to do via repaints.

Originally written by @JayKuri, forked and updated by @ansballard. If you like it, say Hi!

You can’t perform that action at this time.