scroll(1)

NAME
Scroll lock - lock cursor and allow side by side scrolling

DESCRIPTION
The scroll lock macro provides two useful pieces of functionality. If there is only one window on display, then the cursor is locked into position, so that the window onto the current buffer pans around the cursor. Normally the cursor is moved until it moves off of an extremity of the window. When this happens the 'window' pans the buffer. With scroll locking enabled, this panning happens all the time even if the cursor is not at a window edge.

The other way scroll locking works is if there are two windows on display. In this case, the two buffers in the windows are scrolled together. For example, moving the cursor down in one window will cause the buffer in the other window to be scrolled with it. This feature is specifically designed to allow two files to be compared with each other, without the user having to keep switching windows in order to keep the two files in sync with each other.

Scroll-lock is accessed via the <Keypad-ScrollLock> key. This key acts as a toggle -- alternately enabling and disabling this feature.

MENU/KEYS
This macro can be accessed from the CRISP features menu or by pressing the <Keypad-Scroll> key.