News for hackers. Stuff that matters.
Re:Ask HN: What is one Vim trick most people don't know? by ifoundthetao on Friday June 29, 2018 @10:30AM (#17424709)
If you're in Insert Mode, and you want to paste the thing you last yanked, without leaving insert mode, you can do the following:<C-r>0

That pastes the contents of the 0 register into the buffer. Very useful. That'll work for all registers too.

Re:Ask HN: What is one Vim trick most people don't know? by mehrundmehr on Friday June 29, 2018 @10:50AM (#17424831)
Can also do <C-r>" (double quote instead of 0) to paste from the default yank register while in Insert Mode.