Command Overview
Yank and Put Commands
BVI

[ Cursor Movements | Edit Cmds | Yank and Put Cmds | Set Options | Colon (ex) Cmds ]

NOTE: the o command (overwriting put) is the only command in bvi that uses a key for a complete different purpose than in vi.

CommandBVIVI
Put
bytes
  p   put the contents of the yank or delete buffer after cursor position
  P  append the contents of the yank or delete buffer at EOF
  P  put the contents of the yank or delete buffer before cursor position
  o  overwrite the following bytes with the contents of the yank or delete buffer
not available
Yank
bytes
ySPACEyank byte at cursor position
yfC yank from current position to next character C
y/xyz yank from current position to matching pattern xyz
y?xyz yank from current position to matching pattern xyz in reverse direction
y'ayank from current position to mark a
ynGyank from current position to byte with (decimal) address n
not available
yy  yank line
y)yank from cursor position through first following end of sentence
y}yank from cursor position through first following end of paragraph
y]yank from cursor position through first following end of section
y\6a 56 ff   yank from cursor position to first occurance of hex pattern 6a 56 ff
y#6a 56 ff   yank from cursor position to first occurance of hex pattern 6a 56 ff in reverse direction
not available
  y$  yank from current position to EOF
  y$  yank from current position to end of line

Note that most of the commands can be used with a decimal repeat count in front of the command!

[ Cursor Movements | Edit Cmds | Yank and Put Cmds | Set Options | Colon (ex) Cmds ]

Back to the topBack to the top


Last update: October 30th 1999 by Gerhard Bürgmann, Purkersdorf/Austria