mattDavo / Yippy

macOS open source clipboard manager
MIT License
364 stars 26 forks source link

Do not create a new entry for duplicate content (option? default on?) #33

Closed karlhorky closed 3 years ago

karlhorky commented 3 years ago

Hi @mattDavo ! 👋

One idea that I've had when using Yippy extensively over the last months is this workflow:

  1. Copy a piece of text repeatedly (because sometimes hitting cmd-C doesn't register)
  2. There are now multiple duplicate entries in the clipboard manager, pushing some of the older history off the screen

What do you think of adding functionality to prevent creating a new history item if the copied content is the same as the last item?

I'm not sure why anyone would want to have duplicate items, but I suppose in case that would be a use case, it could be an option (would suggest defaulting to on).

Thanks for your hard work here!

mattDavo commented 3 years ago

Hey @karlhorky, glad to hear that all the bugs haven't been painful enough to drive you away 😅 Yep this one is on my radar and going to do it soon: https://github.com/mattDavo/Yippy/issues/8

Closing this issue since it's a duplicate.

karlhorky commented 3 years ago

Ah weird, I searched for "deduplication" in the issues 🤔 I guess the GitHub search isn't up to the task...

glad to hear that all the bugs haven't been painful enough to drive you away 😅

Oh, not by a long shot! Yippy is by far the best clipboard manager I've ever used 💯 Great work.

mattDavo commented 3 years ago

Oh, not by a long shot! Yippy is by far the best clipboard manager I've ever used 💯 Great work.

Alright haha, curious what you find better than alternatives? I just had a quick look on Product Hunt and some seem quite good, albeit not free 😅

@karlhorky

karlhorky commented 3 years ago

curious what you find better than alternatives

Well I suppose there are fancy alternatives, and they offer a bunch of extra features, but my needs are pretty simple: I just want to be able to copy multiple times (normally only on a bunch of text) and have that show up in a list, with multi-line text in each entry (but to avoid doing this with things recognizable as passwords). I also use it sometimes to remove formatting from text, but this is not a huge dealbreaker feature normally. Yippy does a lot of things great, and it's minimal and lightweight.

I was using Flycut and Maccy before this, but they lacked on some of these things above.

And also, it's really nice to have it open source, with approachable maintainers. I may contribute in the future, if I manage to find some time to learn Swift. I'd like to get into macOS development so I can solve more of my own problems (although what I really want is to know how to use all the private APIs, so that I can customize everything)

mattDavo commented 3 years ago

Ahh cool, thanks for the detailed answer and I appreciate the support!

I'd like to get into macOS development so I can solve more of my own problems (although what I really want is to know how to use all the private APIs, so that I can customize everything)

Ah yeah nice, I would like to more as well but in my (fairly limited) macOS development I've found it can be hard to make certain things work (like in that thread). Similarly with Yippy, I'd like to be able to have it on the App Store, but it simply wouldn't be accepted with the way I make it paste on enter. There are workarounds (like installing a helper app) and I would like to do it one day but it's annoying. Not to deter you 😜