smooth-scroll
Smooth scroll of text-editor by mouse & keybord. It's provided via requestAnimationFrame
instead of CSS. Alternative scroll mode (different speed) and horizontal scroll mode included.
Installation
To install smooth-scroll
search for smooth-scroll in the Install pane of the Pulsar settings or run ppm install smooth-scroll
. Alternatively, you can run ppm install bacadra/pulsar-smooth-scroll
to install a package directly from the Github repository.
Commands
Scrolling text-editor by mouse wheel:
MouseWheel
: vertical page scrollingAlt-MouseWheel
: vertical page scrolling (alternative)Shift-MouseWheel
: horizontal page scrollingAlt-Shift-MouseWheel
: horizontal page scrolling (alternative)
In atom-text-editor:not([mini])
there are available commands:
smooth-scroll:scroll-up
: (defaultAlt-PageUp
) scroll current text-editor upsmooth-scroll:scroll-down
: (defaultAlt-PageDown
) scroll current text-editor downsmooth-scroll:increase-step
: (defaultShift-Alt-PageUp
) increase scroll step ofscroll-up
smooth-scroll:decrease-step
: (defaultShift-Alt-PageDown
) decrease scroll step ofscroll-down
smooth-scroll:scroll-to-cursor
: scroll current text-editor to last added cursor
Contributing
Got ideas to make this package better, found a bug, or want to help add new features? Just drop your thoughts on GitHub — any feedback’s welcome!