gotoline(1)

NAME
Goto (old) line:

DESCRIPTION
This command is used to jump to an absolute line in the current buffer, an old line number, a particular character position, or a field on the current line.

By default, just typing in a number goes to the line specified. The following syntax may be used to go to specific parts of the file.

The value for the line (or column/character position) may be specified in decimal or hex (by preceding it with 0x).

Syntax | Description
nn | Jump to line nn
-nn | Goto the old line numbered nn. Each line in CRISP has two line numbers: the current line number, and its old line number. When a file is read into a buffer, both the old and current line numbers are the same. As lines get inserted or deleted, the current line number changes but the old one doesn't. This feature exists to specifically handle the case where the user is correcting syntax errors in a file, whilst referring to a list of lines emitted by the compiler. As lines are inserted and deleted, the old line number stays constant so that the lines referred to by the compiler can be used without the user having to keep track of insertions and deletions.
|nn | Go to column position nn.
nn. | Go to the character position nn, with 0 being the start of the buffer.
#nn | Go to the start of field nn on the current line. A field is similar to an awk(1) field. Fields are delimited by a field separator (default is tab). The field separator character can be changed by executing the macro set_fs from the command line.

MENU/KEYS
This command is accessed via the <Alt-G> key sequence.