Next: Change Commands, Previous: Yank Commands, Up: Modifying Commands

#### 2.9.3 Put Back Commands

Deleted or yanked texts can be put back into the buffer by the command below.

`p`
  Insert, after the character point is looking at, most recently deleted/yanked text from anonymous register. Given a register name argument, the content of the named register will be put back. Given a count, the command will be repeated that many times. This command also checks if the text to put back ends with a new line character, and if so the text will be put below the current line (`vip-put-back`).
`P`
  Insert at point most recently deleted/yanked text from anonymous register. Given a register name argument, the content of the named register will be put back. Given a count, the command will be repeated that many times. This command also checks if the text to put back ends with a new line character, and if so the text will be put above the current line rather than at point (`vip-Put-back`).

Thus, `" c p` will put back the content of the register `c` into the buffer. It is also possible to specify number register which is a numeral between `1` and `9`. If the number register n is specified, n-th previously deleted/yanked text will be put back. It is an error to specify a number register for the delete/yank commands.