> -----Original Message-----
> From: alebo [mailto:[EMAIL PROTECTED] 
> Sent: Monday, April 09, 2007 2:51 PM
> To: [EMAIL PROTECTED]
> Subject: delete buffer questions
> 
> 
> I need som things explained about the automatic delete buffers 1-9.
> 
> When I delete rows using dd the deleted text is put in the 
> default buffer, using dd again will put it in 1 and so on. 
> 
> But if I use another kind of deletion like dw, I couldnt 
> fetch it from the buffers 1-9, only from the first "unnamed" 
> buffer. Why is this so and which kind of delete operations 
> are supported in the delete buffers?

You might want to try my plugin:

YankRing.vim : Maintains a history of previous yanks and deletes 
http://www.vim.org/scripts/script.php?script_id=1234

Vim already maintains a list of numbered registers containing the last 9
deletes.  These previous deletes can be referenced using [register]p, so
"1p will paste the last delete, "2p the 2nd last delete.  For more
information see |quote_number|.

Vim does not provide any mechanism to reference previous yanked text.  In
Emacs this feature is called the "kill ring".

The yankring plugin allows the user to configure the number of yanked and
deleted text.  A split window can be used to choose which element(s) from
the
yankring you wish to paste.  Alternately after text has been pasted (using
p),
it can be replaced with a previous value from the yankring with a single key
stroke.

A tutorial is included to take you through the various features of the
plugin.  After you have installed the plugin just run:
     :h yankring.txt
     :h yankring-tutorial 

...

Pressing F11 (default key) will bring up the list of all recent yanks and
deletes.  From there you can choose which one you need to paste.

HTH,
Dave


Reply via email to