SUPERCILEX / gnome-clipboard-history

Gnome Clipboard History is a clipboard manager Gnome extension that saves what you've copied into an easily accessible, searchable history panel.
https://extensions.gnome.org/extension/4839/clipboard-history/
MIT License
470 stars 46 forks source link

Focus the 2nd last when using the menu shortcut #142

Closed ChocolateLoverRaj closed 1 year ago

ChocolateLoverRaj commented 1 year ago

Problem description

I set the shortcut to open the clipboard to Super + V. I use it to paste the 2nd or earlier item (since for the first item I can just to Ctrl + V). Instead of focusing on the search box, I want it to focus on the 2nd last item.

Instead of this: image

I want this: image

Potential solutions/workarounds

SUPERCILEX commented 1 year ago

Yup, that's what the Ctrl+N keys are for. To paste "a", you would just use Ctrl+2. Doesn't actually work in chrome because gnome sucks, but it will at least be copied to your clipboard so you can then paste it (and it does work in the terminal for example).

I gave skipping the first item some thought and decided against it because that behavior would be weird if you have favorites and it's possible you want to delete the first item so skipping it would be annoying in that case.