Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/georgebrindeiro/scroll-sync
Atom editor package: Synchronize scrolling of two editor panes by content.
https://github.com/georgebrindeiro/scroll-sync
Last synced: 11 days ago
JSON representation
Atom editor package: Synchronize scrolling of two editor panes by content.
- Host: GitHub
- URL: https://github.com/georgebrindeiro/scroll-sync
- Owner: georgebrindeiro
- License: mit
- Created: 2014-08-24T23:43:29.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-07-19T18:27:34.000Z (over 4 years ago)
- Last Synced: 2024-06-05T17:58:53.271Z (5 months ago)
- Language: CoffeeScript
- Size: 702 KB
- Stars: 29
- Watchers: 2
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# scroll-sync Atom editor package
Synchronize scrolling of two editor panes by content.
--See project at [GitHub](https://github.com/georgebrindeiro/scroll-sync).
![Animated GIF](https://github.com/georgebrindeiro/scroll-sync/blob/master/scroll.gif?raw=true)
(If the image above is not animated then click on it).
# Usage
- Open two files in separate panes so they are both visible.
- A new icon (Up Down Double Arrow) will appear in the status bar.
- If the icon isn't filled, that means scroll-sync is off: ⇕
- If the icon is filled, that means scroll-sync is on: ⬍
- Clicking the icon toggles scroll-sync on/off.
- The keyboard shortcut `Ctrl-Alt-S` *also* toggles scroll-sync on/off.
- Scroll either editor pane and the other editor pane will scroll to match.
- When sections of the files don't match, the editor pane you are directly controlling will scroll through the entire file as normal. The other pane will stop or jump ahead as needed to keep the content aligned.
- You may switch between the files to change which is the "master" and which is the "slave".# License
Copyright Mark Hahn by MIT license.