Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

:buffers displays a list of window buffers, but suppose I dd'd a few lines (this puts them in buffers 1-9) and yanked "[a-z]yy a few others. That's up to 35 buffers I couldn't possibly keep in my head.

How do I see a list of all of my deleted and yanked buffers?

(also: is is there a different name for both kinds of buffers? it seems confusing to call two completely separate feature "buffers")

edit: the confusion arose because, for some reason, the vim tutorial I was reading calls registers "named buffers".

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

0-9 and a-z are registers. You can get more information about them with :help registers.

You can see the contents of all of them by entering :reg.

share|improve this answer
    
Also, the term buffer is explained in :help windows-intro and :help 22.4. –  garyjohn Nov 1 '12 at 0:01
    
Interesting, O'Reilly's Vi and Vim calls them "Named Buffers"... with no reference to the term registers. Hence my confusion, as I had used that book for reference. Thanks. –  o_o_o-- Nov 1 '12 at 0:12
1  
@NoamGagliardi That book is mediocre at best (not the norm for O'Reilly). I highly recommend Practical Vim. –  Telemachus Nov 1 '12 at 0:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.