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

[Feature request] Autoselect second clip in history #9

Open
DangerPie opened this issue Jan 19, 2024 · 5 comments
Open

[Feature request] Autoselect second clip in history #9

DangerPie opened this issue Jan 19, 2024 · 5 comments

Comments

@DangerPie
Copy link

DangerPie commented Jan 19, 2024

Please add autoselect the second value in the clipboard history.

When I call up a history, I often want to insert the previous value; To do this, just press the history hotkey and enter. ClipX has this function - it's convenient.

autoselect_second

@AndreyKaiu
Copy link

Please add autoselect the second value in the clipboard history.
When I call up a history, I often want to insert the previous value; To do this, just press the history hotkey and enter. ClipX has this function - it's convenient.
Interesting. Alt+V the menu and always display 2. Or change Alt+C so that 1 is always 2. But even now you can insert it like this, but I press Alt+C+2. You can try in the menu settings to auto-select 2 items from the top. The problem is that the menu can be changed in any way you want. Perhaps for my version https://github.com/AndreyKaiu/CLCL-EN-RU-JP-Plugins I will do it as you want, as soon as I have time.

@DangerPie
Copy link
Author

Thanks.

I don't want to change the history range or any special hotkey.

I want the history popup to appear with the second clip selected as I showed.

@AndreyKaiu
Copy link

I don't want to change the history range or any special hotkey.
I want the history popup to appear with the second clip selected as I showed.

I can only show this implementation in my version
https://github.com/AndreyKaiu/CLCL-EN-RU-JP-Plugins

CLCL 2135

@DangerPie
Copy link
Author

DangerPie commented Jan 29, 2024

Thanks. But I think that you only need to take into account the history of the clipboard (including the current value): if there are fewer than N entries, then select the last one; if the history is empty, do not select anything.

N=2, "no history" in the clipboard and restarted CLCL:
no_history

empty_clipboard

@AndreyKaiu
Copy link

Thanks. But I think that you only need to take into account the history of the clipboard (including the current value): if there are fewer than N entries, then select the last one; if the history is empty, do not select anything.

It is only highlighted, and the choice is up to the user. In normal use there will always be 2 buffers, at least the one that remains in history from the last time. So I won’t complicate this, since the story can be placed not at the top, but somewhere in the middle. Everything should be simple, then there will be fewer problems.

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