11
submitted 1 year ago by BaconIsAVeg@lemmy.world to c/linux@lemmy.ml

It seems like for at least a decade every application/framework has had their own paste buffer, and honestly I'm surprised this isn't "just working" out of the box by now.

  1. Open Terminal
  2. Run pwgen, double click one of the passwords.
  3. Middle click in Terminal, the copied password pastes just fine.
  4. Switch back to Chrome, CTRL-V into the password field.
  5. Realize 5 minutes later when you can't login with the user you've just created, it's because the content you pasted into the password field was an URL you copied in Chrome 15 minutes ago.

And don't even get me started on vim/neovim having yet another copy/paste buffer.

you are viewing a single comment's thread
view the rest of the comments
[-] cspiegel@lemmy.world 6 points 1 year ago

Others have covered PRIMARY vs CLIPBOARD (the separation of which I find to be extremely useful).

For Vim, you have access to these both via the registers + (CLIPBOARD) and * (PRIMARY). So, for example, to paste from your CLIPBOARD selection, you'd do this:

"+p

(or P). Similar for yanking:

"+yy

for example.

this post was submitted on 06 Jul 2023
11 points (61.7% liked)

Linux

47210 readers
734 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS