Next: , Previous: , Up: Copy   [Contents][Index]


12.1.4 Movement Keys

h, C-h, or left arrow move the cursor left.

j, C-n, or down arrow move the cursor down.

k, C-p, or up arrow move the cursor up.

l (’el’), or right arrow move the cursor right.

0 (zero) or C-a move to the leftmost column.

+ and - move the cursor to the leftmost column of the next or previous line.

H, M and L move the cursor to the leftmost column of the top, center or bottom line of the window.

| moves to the specified absolute column.

g or home moves to the beginning of the buffer.

G or end moves to the specified absolute line (default: end of buffer).

% jumps to the specified percentage of the buffer.

^ or $ move to the first or last non-whitespace character on the line.

w, b, and e move the cursor word by word.

B, E move the cursor WORD by WORD (as in vi).

f/F, t/T move the cursor forward/backward to the next occurence of the target. (eg, ’3fy’ will move the cursor to the 3rd ’y’ to the right.)

; and , Repeat the last f/F/t/T command in the same/opposite direction.

C-e and C-y scroll the display up/down by one line while preserving the cursor position.

C-u and C-d scroll the display up/down by the specified amount of lines while preserving the cursor position. (Default: half screenful).

C-b and C-f move the cursor up/down a full screen.

Note that Emacs-style movement keys can be specified by a .screenrc command. (markkeys "h=^B:l=^F:$=^E") There is no simple method for a full emacs-style keymap, however, as this involves multi-character codes.


Next: , Previous: , Up: Copy   [Contents][Index]