Skip to content

Copy and Paste

paste from clipboad

Keep source format

:set paste   #before
:set nopaste #after

copy and paste

v  -> highlight one character at a time
V  -> highlight one line at a time
Shift+V -> highlight current line
^v -> highlight by columns
y  -> yank text into the copy buffer (copy)
yw -> copy one word without v
yy -> copy current line without v
p  -> paste text after the current line
P  -> paste text on the current line