parkouss / webmacs

webmacs - keyboard driven (emacs key bindings) browser, https://webmacs.readthedocs.io/en/latest/
GNU General Public License v3.0
156 stars 21 forks source link

Feature request: In X11 when copying, copy both to clipboard and primary buffers #68

Open xantoz opened 6 years ago

xantoz commented 6 years ago

I usually use the middle-click or shift-insert to paste what I have copied, but since that pastes primary, and webmacs only writes to the clipboard buffer when copying links this breaks that flow. I would like that the copy feature copied to both the primary and clipboard buffers, like conkeror (and firefox, for that matter).

parkouss commented 6 years ago

I am ok to add that feature, though requiring the toggle of a variable to be enabled.

xantoz commented 5 years ago

Any follow-up on this?

Also let me add one more related request: When pasting into webmacs, as opposed to when copying from, S-Insert should paste from the primary buffer, and not the clipboard buffer (roughly similar to middle mouse click). C-y can continue pasting from the clipboard buffer, like today. At least this is how conkeror, and most X11 applications (substitute C-y with C-v) use to work.

parkouss commented 5 years ago

I did a first step for this, allowing to copy to both primary and mouse selection clipboards (see the new variable clipboard-copy).

For the Shift-insert request, I'll have to look closer - this binding is a default, and currently there is no support in webmacs for changing bindings others than the ones involving Control, Super or Alt.