▲ | yjftsjthsd-h 6 days ago | ||||||||||||||||
> A bigger UX problem (on Linux) imo is the multitude of clipboards, we have x11, vim... Those can be synchronized or not, they manifest different behaviors... I would probably like vim's + register to always sync with the X/Wayland clipboard where possible², but it is perhaps worth pointing out that vim has (at least?¹) 28 "clipboard" slots (+, *, a-z) and this is a feature not a bug. Having accepted that, I would likewise point out that X having a clipboard and selection buffer is an intentional feature. I'd support universally supporting one single shared clipboard that everything uses properly by default, but I wouldn't want to limit the other options to do it. ¹Edit: Nope, much more than that: https://learnvim.irian.to/basics/registers ²Edit: Oh, yes, I do agree that I would be in favor of making that the default register as well so that ex. just `yy`/`p` used it. | |||||||||||||||||
▲ | koiueo 6 days ago | parent | next [-] | ||||||||||||||||
> supporting one single shared clipboard that everything uses properly by defaul Agree. I got to realize how convenient it is to have one shared clipboard by default after I tried (doom)emacs: behaves like vim, has registers like vim, but default register uses the clipboard. I can still use all the registers as much as I like, but the default one is global and can be shared between apps. I now configure my vim like this. I still miss this, however, when working occasionally without a graphical session. Perhaps there's a solution, but I haven't yet bothered to look for it. | |||||||||||||||||
| |||||||||||||||||
▲ | xigoi 5 days ago | parent | prev [-] | ||||||||||||||||
> I do agree that I would be in favor of making that the default register as well so that ex. just `yy`/`p` used it.
I deliberately do not use this beause I don’t want random Vim edits to clobber my system clipboard. | |||||||||||||||||
|