Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

: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
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
@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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .