question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add clip history - similar to Emacs yank

See original GitHub issue

I copy paste a lot while working. Often I need to paste something I copied a couple of steps ago.

  • Every time copy or cut command is ran push clip contents to a stack
  • If you want to paste an earlier copy you call (clip | copy) history which will open ui with <number>: <old clip entry>
  • paste <number> will paste the matching entry

There are two different approaches I have thought of:

Introduce alternatives to copy / cut actions

This option is more modular and will not alter the core behavior

Integrate with existing copy / cut actions

I like this option better because only two additional commands needed to make this work

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
elichadcommented, Dec 5, 2021

In Windows (10) the shortcut Win+V brings up a clipboard history, navigable with arrow keys, which works for mixed voice+keyboard use. Could be worth plugging into that on Windows?

1reaction
rntzcommented, Dec 1, 2021

Checking the clipboard every second is something I think we’d want to avoid. I’m not sure whether there’s a clipboard change callback but I wouldn’t be surprised if there was, try poking around talon’s clip module?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Clipboard history
It stores things that have been copied either inside or outside of Office applications, but you can only paste from the Office clipboard...
Read more >
Emacs: Copy/Paste and kill-ring History - Wilkesley.
Emacs's clipboard (called kill-ring ) maintains a history of copy/cut ... Alt + y 】 one or more times to insert from earlier...
Read more >
Yank from clipboard in Emacs - elisp - Stack Overflow
I am using Gnu Emacs 24.3 on Ubuntu 12.04. I would like to use (yank) directly on text previously selected by mouse without...
Read more >
How to Copy and Paste Multiple Items at Once - Zapier
ClipAngel (Windows; free) is a great way to look through your clipboard history. It saves all your copied text and files then lets...
Read more >
Copy and paste not working after update? - MATLAB Answers
Copy and paste still work between scripts in matlab. ... and are not selectable, regardless of whether there is anything in the clip/copy...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found