this post was submitted on 11 May 2024
556 points (96.8% liked)

Programmer Humor

19706 readers
146 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 6 months ago (3 children)

Buffers are great. Comes very handy when creating macros in vim.

[–] unhinge 5 points 6 months ago (1 children)

I think you mean registers not buffers. buffers are file(s) loaded in memory while registers contain text yanked/deleted/last command/last search, etc.

[–] [email protected] 3 points 6 months ago

Yeah sorry, I meant registers.

[–] whats_all_this_then 3 points 6 months ago (1 children)

Do you yank to places outside the regular target when you create macros?

[–] [email protected] 3 points 6 months ago

What do you mean by regular target? I am either yanking from the OS buffer or yanking things from 2 different buffers. Or I have 2 macros where they yank from different buffers.

[–] [email protected] 1 points 6 months ago

What’s annoying about them is that there isn’t a simple way to clear a register which means you have to use both “r and “R in macros.