this post was submitted on 11 May 2024
555 points (96.8% liked)
Programmer Humor
19452 readers
78 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
And I still don't really know how to use registers in vim ๐ I just use yy and paste ๐ฅฒ
I only know how to use them with q. I hope that's a register, otherwise I will look foolish.
They are. Registers are just "named boxes" where you can store some text and/or keystrokes. When yanking and pasting, the unnamed register is used if you don't specify a name (you can still see or edit it explicitly). For recording a macro there is no default register, though. You need to give it a name.