555
I still don't get buffers (programming.dev)
submitted 1 year ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 25 points 1 year ago

And I still don't really know how to use registers in vim 😂 I just use yy and paste 🥲

[-] [email protected] 29 points 1 year ago* (last edited 1 year ago)

You just do " (listen for next character as register name)

Then, say q,w,e etc, then yy to yank as normal.

So "wyy

To retrieve it you use "wp

To add to it "Wyy

To view them :reg

Remember you can make "w anything, like "x or "p

And each time you yank it gets pushed into the default register history "0 "1 "2 etc

[-] [email protected] 4 points 1 year ago

Ok I have to save that 🥲 thanks!

load more comments (2 replies)
load more comments (4 replies)
this post was submitted on 11 May 2024
555 points (96.8% liked)

Programmer Humor

24790 readers
1046 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

founded 2 years ago
MODERATORS