Option to collect duplicate items in a tab
When I need to copy-paste a lot of items I often need to copy an item that is already collected and CopyQ just ignors this item and does not store it. This is not always the required behavior because when I need to paste all items to another place, I need to be sure that I paste all items in the same order back regardless of duplicate values.
Example of what a serie of copies would be: aa, aa, bb, aa, cc
Could you provide the option, per tab, to select if:
- Store duplicates items: No/Yes (No = default) The result if Yes: aa, aa, bb, aa, cc The result if No (this it how it is now): aa, bb, cc
- Store duplicates only if previous item is not the same: No/Yes (Yes = default) The result if Yes: aa, bb, aa, cc The result if No: aa, bb, cc
As an alternative you could set it on a global level so the setting would be for all tabs. Not ideal, but better then not at all.
In my case storing duplicate items is almost always the required behavior. So I agree with 99% of your post, minus the last sentence. I would prefer a global switch. The best would be a global switch and a per-tab menu :D
Hi ... I didn't understand the use case for keeping a duplicate buffer string. I can see how you'd like the snippets in the same order; you can do that by draging your snippets with the mouse in the GUI. I find that handy because I can multiselect my ordered snippets and just paste the many snippets with one paste.
@aplatypus I'll give you a quick example. Imagine there is a website with a table: column_1 is the client's name; column_2 is the client's surname. Ideally the table is formatted in a way that I can easily select the whole table, copy & paste the data into a spreadsheet --- but it's not always that simple. The solution is to manually copy each cell and paste it into my spreadsheet. CopyQ helps me do this quickly, but if two people share the same name (in the source data), CopyQ currently keeps just one instance and fucks the whole table up.