MPE/iX Shell and Utilities Reference Manual, Vol 2

vi(1) MPE/iX Shell and Utilities vi(1)
moves the cursor to the first non-space character on the previous line. Scroll the
screen up one line if needed.
| moves the cursor to the column number specified as count. This is a screen column
number, not a line offset. If count is greater than the length of the current line, vi
moves the cursor to the last character on the line. If the column indicated is spanned
by a tab, vi moves the cursor to the first character after the tab.
ˆ moves the cursor to the first non-blank character of the current line.
$ moves the cursor forward to the end of a line. count specifies the number of lines, in-
cluding the current line, to move forward.
` when followed by a mark name, moves the cursor to the position that has been asso-
ciated with that name. The position is set by the m command. A grave character fol-
lowed by another grave character moves the cursor to the previous context. The pre-
vious context is typically the last place where you made a change. More precisely,
the previous context is set whenever you move the cursor in a non-relative manner.
´ is similar to the grave (`) character, except that the cursor is set to the first non-blank
character on the marked line.
Movement By Context
vi defines a word in the following two ways:
a sequence of letters, digits, and underscores delimited at both ends by: (1) characters
that are not letters, digits, or underscores, (2) the beginning or end of a line, or (3) the
end of the editing buffer.
a sequence of characters other than letters, digits, underscores, or white space delimit-
ed at both ends by: (1) a letter, digit, underscore, white space, (2) the beginning or end
of a line, or (3) the end of the editing buffer.
vi defines a full word as a sequence of non-blank characters delimited at both ends by blank
characters (
SPACE, TAB, NEWLINE) or by the beginning or end of a line or file.
B moves the cursor back to the first character of the current full word. If the cursor is
already at the beginning of a full word, vi moves it to the first character of the pre-
ceding full word.
b moves the cursor back to the first character of the current word. If the cursor is al-
ready at the beginning of a word, vi moves it to the first character of the preceding
word.
E moves the cursor forward to the end of the current full word. If the cursor is already
at the end of a full word, vi moves it to the last character of the next full word.
Commands and Utilities 1-651