206
submitted 1 year ago by mfat@lemdro.id 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 1 year ago

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

[-] backhdlp 19 points 1 year ago

Vim also has it's own clipboard

[-] foudinfo@jlai.lu 9 points 1 year ago

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

[-] offspec@lemmy.nicknakin.com 7 points 1 year ago

works with vim but never tested on vi

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

[-] stepanzak@iusearchlinux.fyi 3 points 1 year ago

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

[-] poinck@lemm.ee 2 points 1 year ago

Annoyingly so, how can one disable it?

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

Thx, I'll try that

this post was submitted on 08 Oct 2023
206 points (100.0% liked)

Linux

48159 readers
617 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