Next: UnsetBookmark, Previous: SetBookmark, Up: Navigation Commands [Contents][Index]
Syntax: GotoBookmark [n|+1|-1|-]
Abbreviation: GBM
moves the cursor to the designated bookmark if that bookmark is
set; see SetBookmark. Each document has 10 available bookmarks
designated ‘0’ to ‘9’, plus the automatic bookmark designated by
‘-’. If no option is given, ‘0’ is assumed. The optons ‘+1’
and ‘-1’ indicate respectively the next and previous set bookmarks,
so that repeated GotoBookmark +1
commands will cycle through all
currently set bookmarks. When successful, the ‘-’ automatic bookmark
is set to the position in the document from which the command was issued,
so that GotoBookmark -
returns you to the location from which you
last issued a successful GotoBookmark
command. Subsequent repeated
GotoBookmark -
commands will toggle you between the two locations.
The ‘?’ option will cause GotoBookmark
to prompt you
for a bookmark designation. The promp will include an indication of which
bookmarks are currently set. You may find this useful in macros, or to bind
a key to ‘GotoBookmark ?’.