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
How to clear the history in CopyQ? #1031
Comments
Would Ctrl+A, Delete work? |
Yes thank you it's good enough. Yet, is it possible to create a command for "show main window -> press ctrl+a -> press del -> hide main window" ? |
There is Clear Clipboard Tab command which can be triggered from main window. Here is modified command that can be used with a global shortcut (without showing main window): [Command]
Command="
copyq:
tab(config('clipboard_tab'))
var count = size()
if (count) {
items = Array
.apply(0, Array(count))
.map(function(x,i){return i})
remove.apply(this, items)
}
popup('Clipboard Tab Cleared')"
GlobalShortcut=meta+ctrl+x
Icon=\xf2ed
IsGlobalShortcut=true
Name=Clear Clipboard Tab |
works like a charm! Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'd like to create a shortcut for clearing the history, but surprisingly couldn't find anything about this. Could you please help me with that?
Thanks,
The text was updated successfully, but these errors were encountered: