Vim What?Commandsy
y

The y command in Vim

Operator

yank

Yank (copy) the text covered by the motion into a register. Double yy yanks the whole line. Paste with p or P.
Examples
Related plugin

tpope/vim-surround — ys{motion}{char} adds surrounding. e.g. ysiw" wraps word in quotes, yss( wraps whole line in parens, ysip} wraps paragraph in braces.

Reference

Official Vim help for y

Learn every Vim command visually — right in your browser.

Add Vim What? to Chrome — Free

Also on Firefox.

Related operators