In vi editor, 'p' (put) pastes the contents of the buffer (yanked or deleted text) after the current cursor position (on the next line if line-wise). 'u' is undo, 'yy' yanks (copies) the current line into the buffer, and 'x' deletes the current character.