openstenoproject/plover

Function to transfer definitions between different dictionaries

Opened this issue · 6 comments

Is your feature request related to a problem? Please describe.

I almost always find myself working with multiple dictionaries in Plover. Eg. in addition to the main dictionary, I normally use a dictionary for new entries to check later and a "trash" dictionary that contains definitions with recurring spelling errors. Very often the need arises to quickly move a definition from one dictionary to another, for example from user dix to main, or from main to trash.

Describe the solution you'd like

The dictionary editor in Plover may have a simple function to quickly move definitions from one dictionary to another activated with the right mouse button.

Describe alternatives you've considered

delete the definition and recreate it in another dictionary or having to resort to external editors, but both are very slow processes.

An alternative is to edit multiple dictionaries at once. This is still a bit clunky, but you might find it's good enough. Select one dictionary and then use the shift or control key, the same way you would select multiple files in a file explorer. Then you can edit multiple dictionaries at once. The right most column has the dictionary, and you can double click to change the dictionary that the entry belongs to.

Is this in Plover? Where do you double click to change the entry belongs to? Sorry for my misunderstanding.

Ah it's okay, my instructions were a bit unclear!

  • Select multiple dictionaries in the dictionary list in Plover. Click the first dictionary, then control+click to select other dictionaries. If you want to select a range of dictionaries, click the first dictionary then shift+click the last dictionary in the range.
    image

  • Edit the dictionaries by clicking the pencil icon in the bottom bar. This opens up the dictionary edit screen, and the column on the right tells you which dictionary an entry is in. You might have to scroll to the right to see it. If you double click that cell, it'll show a dropdown input. You have to click the dropdown input a third time for it to actually show the dropdown, then you can click on the dictionary you want to move it to. You can only move it to one of dictionaries that you're editing.
    image

An alternative would be to use one of the dictionary plugins that support adding comment to entries, then just add comments etc. (it would not allow selectively disable entries however... at least as far as I know... a workaround is to redefine the stroke to be (dummy stroke) / (actual outline))

Ah it's okay, my instructions were a bit unclear!

  • Select multiple dictionaries in the dictionary list in Plover. Click the first dictionary, then control+click to select other dictionaries. If you want to select a range of dictionaries, click the first dictionary then shift+click the last dictionary in the range.
    image
  • Edit the dictionaries by clicking the pencil icon in the bottom bar. This opens up the dictionary edit screen, and the column on the right tells you which dictionary an entry is in. You might have to scroll to the right to see it. If you double click that cell, it'll show a dropdown input. You have to click the dropdown input a third time for it to actually show the dropdown, then you can click on the dictionary you want to move it to. You can only move it to one of dictionaries that you're editing.
    image

Thanks! As you say a bit clunky but far better than manual editing!

An alternative would be to use one of the dictionary plugins that support adding comment to entries, then just add comments etc. (it would not allow selectively disable entries however... at least as far as I know... a workaround is to redefine the stroke to be (dummy stroke) / (actual outline))

Could you give me an example?