! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Allow to paste arbitrarily numbered entry of Clipman
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-clipman-plugin
Component:
X11 clipboard manager

Comments

Description Siltaar 2017-02-17 22:48:59 CET
Hello (world),


I would like to suggest a new feature for my so-appreciated Clipman : allow to directly paste the Nth entry of Clipman history, for instance when pressing CTRL+[0-9]+V.


Use cases :
-----------
This would allow to immediately get back "the-selection-you-wanted" after you inadvertently made a new one.

Or select a login and then a password from a file, and paste them in a login form without having to come back to the password-file (which I often do).

Or to select 3 or more tweet parts, and to paste 2 of them in the wanted order to finish a new tweet construction…


Extended version :
------------------
As it's very uncommon for someone to remember more than 7 concepts at once, it would not be so interesting to extend the idea to something like : CTRL+12+V    (1 and 2 being typed successively…) as the first suggested version seem really easier to code from my point of view.


Implementation ideas :
----------------------
A simple new command like : clipman-paste-nth 7   (to paste the 7th entry of Clipman) may allow users to create their own keyboard shortcuts (but preconfiguring 10 of them would be great).
Comment 1 Siltaar 2019-10-15 15:15:57 CEST
If ciphers are not considered the good way to go, another option would be to mimic ZSH about the : cd - ; cd -- ; cd ---
To get back to the previous, 2nd previous, 3rd previous working directory.

We could imagine a :
- CTRL+V
- CTRL+VV
- CTRL+VVV

As long as the CTRL key is kept pressed adding Vs allow to select with previous copied element to past.
Comment 2 Siltaar 2019-10-15 16:23:27 CEST
Well, ZSH is not working like that in fact, but the idea is still here :-)
Comment 3 Simon Steinbeiss editbugs 2020-04-08 23:29:09 CEST
While this is a different approach to your use case I use the newly added xfce4-clipman-history with the "paste instantly" option enabled (for terminals use "Shift+Ins").

It's a little less error-prone because you see what you select and it's still super fast.
Comment 4 Git Bot editbugs 2020-05-22 23:22:19 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin/-/issues/9.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13362

Reported by:
Siltaar
Reported on: 2017-02-17
Last modified on: 2020-05-22

People

Assignee:
Mike Massonnet
CC List:
4 users

Version

Version:
unspecified

Attachments

Additional information