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

Keep the latest pasted item at top of history #5

Open
vcarel opened this issue Jan 24, 2018 · 6 comments
Open

Keep the latest pasted item at top of history #5

vcarel opened this issue Jan 24, 2018 · 6 comments

Comments

@vcarel
Copy link

vcarel commented Jan 24, 2018

When I'm using an item from the history, it stays at its place.

It annoys me because some items I frequently use get farther and father in the history. At some time, I have to copy them again so to get them on the top again.

I think it would make sense to move to the top an item when it's pasted.

BTW this is what happens with atom-clipboard-plus.

@kercos
Copy link

kercos commented May 31, 2018

Indeed, I agree with @vcarel that this feature would be very useful!

@heldersepu
Copy link

Very nice indeed! go LRU

@s1moe2
Copy link

s1moe2 commented Sep 14, 2018

This was also something I needed, specially since I was used to this feature in IntelliJ IDE's.
I've submitted this PR which handles that and also has some other minor fixes/cleanup.

@kAlvaro
Copy link

kAlvaro commented Oct 4, 2018

One more reason for such feature is that, otherwise, frequently used entries can easily disappear as new items are being copied, when history limit is hit.

BTW, there're already two different pull requests to implement this :-?

@heldersepu
Copy link

heldersepu commented Oct 4, 2018

I don't think the owner (@aefernandes) is getting notifications from the issues...
try reaching out on linkedin: https://www.linkedin.com/in/anjalifernandes/

@s1moe2
Copy link

s1moe2 commented Oct 4, 2018

I've sent her an email a couple of weeks ago offering to help as maintainer but got no response. I'm now considering doing the changes I want to do (this issue and other things) on my fork and using it instead of the original.

@kAlvaro that's true! I guess I got excited and started working without noticing the existing PR :) I also added irrelevant refactors, which maybe should have been kept out but I also made this behavior optional/configurable

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

5 participants