Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It was great ... #102

Open
Mela opened this issue Dec 30, 2020 · 1 comment
Open

It was great ... #102

Mela opened this issue Dec 30, 2020 · 1 comment

Comments

@Mela
Copy link

Mela commented Dec 30, 2020

... for as long it lasted.

Just checked what happened to that one add-one that was for quite some years so very useful for me.
Thank you, for having created it.

Mela

@archenemies
Copy link
Collaborator

Nowadays there is Textern which I use a lot. However, it doesn't work on some websites like Facebook.

I decided to write a script that opens the contents of the clipboard in an editor. I was embarrassed not to have thought of this idea before. It is useful for websites, I just type what I want into the clipboard editor and then paste it into the text box. Paste works on pretty much all websites, even the "fancy" ones. It is also sometimes useful to be able to edit the clipboard for other reasons, for example if I selected too much text to copy, and need to trim something off the front before I paste it.

$ grep edit-clip .xbindkeysrc.scm
(xbindkey '(mod4 shift e) "edit-clip")

$ cat =edit-clip
#!/bin/zsh
TMP=/tmp/clipboard
xsel -bo > $TMP
YOUR_EDITOR $TMP
xsel -bi < $TMP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants