557
I still don't get buffers
(programming.dev)
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.
Buffers are great. Comes very handy when creating macros in vim.
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.
Yeah sorry, I meant registers.
Do you yank to places outside the regular target when you create macros?
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.
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.