TIL GNU/linux has 2 clipboards
TIL GNU/linux has 2 clipboards
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're viewing a single thread.
immortaly007 @feddit.nl And then there is the "clipboard" (copy paste function) in the nano text editor being a third
10 0 Replymeow @lemmy.blahaj.zone
Vim also has it's own clipboard
18 0 Replyfoudinfo @jlai.lu You can also configure vim to use the first clipboard (works with nvim but never tested on vim).
10 0 Replyoffspec @lemmy.nicknakin.com works with vim but never tested on vi
8 0 ReplyTheyCallMeHacked @discuss.tchncs.de It does not work in vi. The + and * register were a vim invention (tested in vim compatibility mode and busybox vi)
7 0 Reply
stepanzak @iusearchlinux.fyi Vim has a ton of clipboards and I still couldn't figure them out.
4 0 Replypoinck @lemm.ee
Annoyingly so, how can one disable it?
2 0 Replyxigoi @lemmy.sdf.org
set clipboard=unnamedplus
2 0 Replypoinck @lemm.ee
Thx, I'll try that
1 0 Reply