3 ms·
> Double quote and then 9? Interesting ... I checked the help using :h " and got to the bottom of it. So "0 is the most recent thing you copied - I use that a
by kagevf 3y ago
> Double quote and then 9?
Interesting ... I checked the help using :h " and got to the bottom of it.
So "0 is the most recent thing you copied - I use that all the time, it's very useful. Including ctrl-r 0 in insert mode.
The other numbers 1 - 9 are the last thing that were cut either from a delete or a change, where "1 is the most recent, "2 the next recent, and so on.
The trick, though, is that it has to be //more than 1 line// to automatically end up in a numbered register - unless you explicitly use a numeric register when cutting.