You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,16 @@ See project at [GitHub](https://github.com/georgebrindeiro/scroll-sync).
9
9
10
10
(If the image above is not animated then click on it).
11
11
12
-
# Usage:
12
+
# Usage
13
13
- 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.
15
19
- Scroll either editor pane and the other editor pane will scroll to match.
16
20
- 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.
17
21
- 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`.
0 commit comments