Skip to content

Commit be5b1d5

Browse files
author
George Brindeiro
committed
Changed README.md to reflect new status bar icon changes.
1 parent fe12e41 commit be5b1d5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ See project at [GitHub](https://github.com/georgebrindeiro/scroll-sync).
99

1010
(If the image above is not animated then click on it).
1111

12-
# Usage:
12+
# Usage
1313
- Open two files in separate panes so they are both visible.
14-
- Press `Ctrl-Alt-S` (`scroll-sync:toggle`) and the word `ScrlSync:On` will appear in the status bar to indicate that scrolling is synced.
14+
- A new icon (Up Down Double Arrow) will appear in the status bar.
15+
- If the icon isn't filled, that means scroll-sync is off: ⇕
16+
- If the icon is filled, that means scroll-sync is on: ⬍
17+
- Clicking the icon toggles scroll-sync on/off.
18+
- The keyboard shortcut `Ctrl-Alt-S` *also* toggles scroll-sync on/off.
1519
- Scroll either editor pane and the other editor pane will scroll to match.
1620
- 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.
1721
- You may switch between the files to change which is the "master" and which is the "slave".
18-
- To stop syncing, click on `ScrlSync:On` in the status bar, close one of the tabs or press `Ctrl-Alt-S` again and the status will change to `ScrlSync:Off`.
19-
20-
#License
2122

23+
# License
2224
Copyright Mark Hahn by MIT license.

0 commit comments

Comments
 (0)