- smooth
- scroll
- mouse
- keyboard
-
Made for Pulsar!
This package was written specifically for Pulsar and did not exist in the Atom package repository.
smooth-scroll
Smooth scrolling for text editors via mouse and keyboard. Uses requestAnimationFrame for butter-smooth animations with alternative speed and horizontal scroll modes.

Features
- Smooth animation: Uses
requestAnimationFrameinstead of CSS. - Mouse wheel: Scroll with configurable modifiers.
- Keyboard scrolling: PageUp/PageDown with customizable step.
- Multi-editor sync: Scroll all visible editors.
- Horizontal scroll: Hold modifier to scroll horizontally.
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 asiloisad/pulsar-smooth-scroll to install a package directly from the GitHub repository.
Commands
Scrolling text-editor is done by mouse wheel. Modifiers can be used:
- Use Ctrl to scroll all visible text editors,
- Use Alt to use alternative speed setting,
- Use Shift to change scroll to horizontal direction.
Commands available in atom-text-editor:not([mini]):
smooth-scroll:scroll-up: Alt+PageUp scroll current text-editor up,smooth-scroll:scroll-up-all: scroll all pane-active text-editor up,smooth-scroll:scroll-down: Alt+PageDown scroll current text-editor down,smooth-scroll:scroll-down-all: scroll all pane-active text-editor down,smooth-scroll:increase-step: Alt+Shift+PageUp increase scroll step ofscroll-upandscroll-up-all,smooth-scroll:decrease-step: Alt+Shift+PageDown decrease scroll step ofscroll-downandscroll-down-all,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 is welcome!