Next: Selecting Text, Cutting and
Up: The Woodnotes Guide to
Previous: Scrolling
Contents
Placing marks through your text is an
interesting way of navigating, if you find yourself navigating back to certain
positions frequently. But it's more important a tool as part of cutting and
pasting. Type m plus a letter from a-z or A-Z to establish a mark,
and then ' (that's the single quote, not the backtick) plus that
letter to return the cursor to the position identified by that mark. By
distinguishing between upper and lower case identifiers, Vim provides you 52
individual marks, more than you'll probably need. If you forget where they
are, typing :marks at the Ex prompt will provide you a list of them,
plus the first couple of words at each mark to help you identify them.
Randall Wood
2009-08-04