Neovim basics
September 23, 2025
Copy, cut and paste
NORMAL mode
- Copying/cutting something is called yanking. So the shortcut to yank is
y yywill copy the entire line- first
yindicates the start of the yank operation - second
yspecifies the scope of the yank operation
- first
p(lowercase) will paste on the line belowP(uppercase) will paste on the line aboveddwill yank and delete, basically what you would call cut in a traditional editor