vi buffer usage

Jean-Pierre Radley jpr at dasys1.UUCP
Sat Jul 22 15:16:59 AEST 1989


In article <493 at cadlab.cadlab.de> berni at cadlab.UUCP (Bernhard Kraft) writes:
>   map g OInsertedText^["gdd
>
>This was an attempt to put a text into the buffer g , when I type g.

If you want to put something into one of vi's named buffers, then you must
use the 'yank' command: Y, or yy or other variants.

When you use 'dd', you delete the line, and it goes into the "unnamed"
buffer, also called buffer 0.

-- 
Jean-Pierre Radley		CIS: 72160,1341		jpr at jpradley.UUCP



More information about the Comp.unix.questions mailing list