sachac-plover-retro-stroke

Converts the last X translations to their stroke form


Keywords
plover
License
GPL-3.0
Install
pip install sachac-plover-retro-stroke==0.1.0

Documentation

Converts the last X translations to their stroke form, depending on how many times you invoke it.

For example, if you define a stroke for STR*L as =retro_stroke, you can type:

Strokes:     EU AEUT AEU KAR ROT TP-PL STR*L
Translation: I ate a carrot TP-PL

Strokes:     EU AEUT AEU KAR ROT TP-PL STR*L STR*L
Translation: I ate a KAR ROT TP-PL

Strokes:     EU AEUT AEU KAR ROT TP-PL STR*L STR*L STR*L
Translation: I ate AEU KAR ROT TP-PL

and so on.

You can specify the stroke separator and text to go before and after with the syntax =retro_stroke:separator,before,after.

By default the separator is a space and the before and after text is empty.

If you define a stroke as =retro_stroke:/, `,`

Strokes:     EU AEUT AEU KAR ROT TP-PL STR*L
Translation: I ate a carrot `TP-PL`

Strokes:     EU AEUT AEU KAR ROT TP-PL STR*L STR*L
Translation: I ate a `KAR/ROT/TP-PL`

Strokes:     EU AEUT AEU KAR ROT TP-PL STR*L STR*L STR*L
Translation: I ate `AEU/KAR/ROT/TP-PL`

You can install this plugin from the command-line with:

git clone https://github.com/sachac/plover_retro_stroke
cd plover_retro_stroke
plover -s plover_plugins install -e .

or

plover -s plover_plugins install git+https://github.com/sachac/plover_retro_stroke.git