212
submitted 11 months ago by mfat to c/linux@lemmy.ml

Pretty sure most of you already know this but for those who don't: you have two clipboards in Linux. One is the traditional clipboard where you copy with control c and paste with control v. The other one is when you highlight text and use the mouse middle click to paste text.

More details here.

you are viewing a single comment's thread
view the rest of the comments
[-] immortaly007@feddit.nl 10 points 11 months ago

And then there is the "clipboard" (copy paste function) in the nano text editor being a third

[-] backhdlp@lemmy.blahaj.zone 18 points 11 months ago

Vim also has it's own clipboard

[-] foudinfo@jlai.lu 10 points 11 months ago

You can also configure vim to use the first clipboard (works with nvim but never tested on vim).

[-] offspec@lemmy.nicknakin.com 8 points 11 months ago

works with vim but never tested on vi

[-] TheyCallMeHacked@discuss.tchncs.de 7 points 11 months ago

It does not work in vi. The + and * register were a vim invention (tested in vim compatibility mode and busybox vi)

[-] stepanzak@iusearchlinux.fyi 4 points 11 months ago

Vim has a ton of clipboards and I still couldn't figure them out.

[-] poinck@lemm.ee 2 points 11 months ago

Annoyingly so, how can one disable it?

[-] xigoi@lemmy.sdf.org 2 points 11 months ago
[-] poinck@lemm.ee 1 points 11 months ago

Thx, I'll try that

this post was submitted on 08 Oct 2023
212 points (96.5% liked)

Linux

47307 readers
517 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