zachcurry / emacs-anywhere

Configurable automation + hooks called with application information
MIT License
1.08k stars 49 forks source link

More robust pasting #65

Closed tecosaur closed 4 years ago

tecosaur commented 4 years ago

Hello,

I notice that ATM, we use Ctrl+v for pasting. Quite a few apps (e.g. emacs, terminal) use that for something else. It seems that a much safer method (used by CopyQ) is to use Shift+Insert. https://github.com/zachcurry/emacs-anywhere/blob/05bf8ef119834d330803bdad91f9028ff87cc7b9/bin/linux#L47

Perhaps this should be used instead?

sickerin commented 4 years ago

I second this, I've swapped my ctrl and capslock, and for some reason using ctrl+v results in "V" being pasted. Modifying it to Shift + Insert makes it work. I've also found that it doesn't work in applications where the shortcut for paste isn't ctrl+v. Shift + Insert is probably more universal.