Skip to content

Allow to paste arbitrarily numbered entry of Clipman

Submitted by Siltaar

Assigned to Mike Massonnet

Link to original bug (#13362)

Description

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).