Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You are a bit confused about the numbered registers (<a href="http://vimdoc.sourceforge.net/htmldoc/change.html#quote_number" rel="noreferrer"><code>:h quote_number</code></a>).</p> <p>There is only one <strong>yank register</strong> and that is <strong><code>"0</code></strong>.</p> <p>Separate from that there are nine numbered <strong>delete registers <code>"1</code> to <code>"9</code></strong>. These are filled as a queue with the most recent delete at the top.</p> <p>For the delete registers <code>"1</code> to <code>"9</code> Vim has the functionality you are asking for built in: You can paste <code>"1p</code>, and if it isn't what you're looking for you can repeat <code>u.</code> <code>u.</code> <code>u.</code> to toggle through the registers <code>"2</code>, <code>"3</code>, <code>"4</code>, etc., until you've found the right one. This behaviour is documented at <a href="http://vimdoc.sourceforge.net/htmldoc/undo.html#redo-register" rel="noreferrer"><code>:h redo-register</code></a>.</p> <p>Scrolling through previously yanked text is most often done with plugins, the most popular ones I know of being</p> <ul> <li><a href="http://www.vim.org/scripts/script.php?script_id=1234" rel="noreferrer"><strong><em>YankRing.vim</em></strong></a>, "Maintains a history of previous yanks, changes and deletes", and</li> <li><a href="http://www.vim.org/scripts/script.php?script_id=3834" rel="noreferrer"><strong><em>yankstack</em></strong></a>, "lightweight implementation of emacs' kill ring for vim".</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload