:reg
displays the contents of the numbered and special registers. Is there a way to then paste a register but retain the output of :reg
on the screen? This avoids the need to store the register name in my short term memory.
Typing :pu <register>
is close, however put
will paste the register linewise
rather than characterwise
.
"xp
(assuming register "x")? And yes:put
is always linewise. Do you want something that will be always characterwise, or that will be linewise or characterwise depending on whether the register contains newlines (as thep
Normal mode command does)? Please edit your question to add more context on these two parts of it."rp
is executed in normal mode.