Go to the first, previous, next, last section, table of contents.


Using Marks

Marks are used to record a position in a file, as the file's buffer is modified so does the position that the mark points to -- a mark will keep pointing at the same character no matter what happens (unless the character is deleted!).

The other good thing about marks is that they point to files not buffers. This means that you can set a mark in a buffer, delete the buffer and then move to the position of the mark, the file will be reloaded and the cursor will point at the original character.

Normally there are three user-accessible marks (4) and one special auto-mark which is used, amongst other things, to record the "previous" position of the cursor, allowing you to retrace your last major step.

The commands available on marks are,

F1
F2
F3
Move to the mark #1, #2 or #3, depending on which function key is pressed (F1 means mark #1, etc...). If the file pointed to is not in memory it will be loaded into a new buffer.
Shift-F1
Shift-F2
Shift-F3
Set the position of mark #1, #2 or #3, depending on the function key.
Ctrl-x Ctrl-x
Swap the positions of the cursor and the auto-mark.
Ctrl-@
Set the position of the auto-mark.


Go to the first, previous, next, last section, table of contents.