How do I paste a blockwise register without padding lines with trailing spaces in Neovim?
zp
Pastes a blockwise register like p, but skips padding lines shorter than the block's right edge with trailing spaces.
225 results for "paste"
zp
Pastes a blockwise register like p, but skips padding lines shorter than the block's right edge with trailing spaces.
gp
The standard p command pastes text after the cursor but leaves the cursor at the beginning of the pasted text.
<C-r><C-r>a
In insert mode, a pastes register a but processes the text as if typed, which can trigger abbreviations and mappings.
"+y and "+p
The "+ register is linked to the system clipboard.
[p
When you copy code from one indentation level and paste it at another, p preserves the original indentation, leaving your code misaligned.
<C-r><C-o>"
The {register} sequence in insert mode pastes register contents literally — without triggering auto-indentation, abbreviations, or mappings.
<C-r><C-r>{register}
In insert mode, {reg} pastes from a register but treats certain bytes as key inputs — so a register containing \n triggers a newline, \x08 triggers backspace,
p
The p command pastes (puts) the contents of the default register after the cursor.
{visual}p
When you visually select text and press p, Vim replaces the selection with the contents of the default register and saves the replaced text into the unnamed reg
<C-r><C-o>
When you paste a register in insert mode with {reg}, Vim inserts the text as if you had typed it — which means auto-indent, abbreviation expansion, and other
registers #registers #insert-mode #paste #autoindent #editing
:put {reg}
The :put Ex command always inserts a register's content as a new line below the current line, regardless of whether the register holds characterwise, linewise,
editing #registers #editing #paste #ex-commands #normal-mode
:0put
The :put Ex command inserts register contents as a new line below the specified line number.
<C-r>{reg} in command line
While on the : command line, pressing followed by a register name inserts that register's contents.
P
The P (uppercase) command pastes the contents of the default register before the cursor position.
<C-r><C-o>{register}
The standard {reg} pastes register contents in Insert mode, but Vim may auto-indent multi-line text to match the current indentation level — sometimes manglin
<C-v>jj"ay then "ap
How it works Vim registers remember not just the text content but also the type of selection that was used to yank it: characterwise, linewise, or blockwise.
yiw{nav}viwp{nav}viwp
When you paste over a visual selection in Vim, the displaced text is moved into the unnamed register "".
registers #registers #visual-mode #editing #text-objects #normal-mode
:{line}put {register}
How it works The :put Ex command pastes the contents of a register after a specified line.
<C-r>=substitute(getreg('+'), '\n\+', ', ', 'g')<CR>
When you paste from the system clipboard into code or config, multiline text often needs to be flattened first.
registers #registers #insert-mode #expression-register #text-processing
"/p
Vim stores the last search pattern in the search register "/.