Home

Quick Tutorial
Editing Files
Search Commands
Bit-wise Operations
Find and Replace
Yank and Put
Settings
Partial File Read

Download

Installation

Command Overview

bmore

Deutsche Beschreibung


Quick Tutorial
Yank and Put
BVI

Starting with version 1.2.0 there is a new syntax for the yank and put commands! Yank is now more similare to vi.

ySPACE yanks byte under cursor
nySPACE yanks n bytes, beginning at cursor position
yfC yanks from current position to next character C
y/xyz yanks from current position to first matching pattern xyz
y$yanks from current position to EOF
y'a yanks from current position to mark a
ynG yanks from current position to byte with (decimal) address n
o overwrites the bytes after the cursor with the contents of the yank or delete buffer
pputs the contents of the yank or delete buffer after the cursor
Pappends the contents of the buffer to end of file

Using ex (colon) Commands

:y(ank)
yank can be used with one or two addresses specified. One address with no count specified copies the specified byte into the buffer. Two addresses with no count specified copies multiple bytes starting and ending with the specified bytes. Two addresses and a count value copies count bytes starting at the second specified address (the first address is ignored). If no address is specified, the current address ist used by yank.
Examples:
:start_addr,end_addr y RETURN
:start_addr y byte_countRETURN
:y byte_countRETURN

:pu(t)

Restores previously deleted or yanked bytes after the address specified in the put command.

:o(verwrite)

Overwrites bytes after the specified address with previously deleted or yanked bytes.

NOTE: There are currently no namend buffers available.

Back to the topBack to the top


Last update: Thu Jun 01 12:00:00 CEST 2000 by Gerhard Bürgmann