Next: Appending Text, Previous: Move Commands, Up: Text Handling [Contents][Index]

#### 4.2.2 Marking

Emacs mark is referred to in the region specifiers `r` and `R`. See Emacs Preliminaries, and See Basics, for explanation. Also see Mark in The GNU Emacs manual, for an explanation of the Emacs mark ring.

`m<a-z>`

  Mark the current file and position with the specified letter.

`m .`

  Set the Emacs mark (see Emacs Preliminaries) at point.

`m ^`

  Set the Emacs mark (see Emacs Preliminaries) back to where it was last set with the `m.` command. This is useful when you set the mark with `m.`, but then some other command (such as `L` or `G`) changes it in a way that you didn’t like.

`m <`

  Set the Emacs mark at beginning of buffer.

`m >`

  Set the Emacs mark at end of buffer.

`m ,`

  Jump to the Emacs mark.

`:mark <char>`

  Mark position with text marker named <char>. This is an Ex command.

`:k <char>`

  Same as `:mark`.

````

  Exchange point and mark.

`''`

  Exchange point and mark and go to the first CHAR on line.

`'<a-z>`

  Go to specified Viper mark.

``<a-z>`

  Go to specified Viper mark and go to the first CHAR on line.