plover_retro_stroke

Convert previous translations into strokes by repeating a stroke

GPL-3.0 License

Downloads
19
Stars
5

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:

#+begin_example 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 STRL STRL Translation: I ate a KAR ROT TP-PL

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

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:/, ,

#+begin_example 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 STRL STRL Translation: I ate a KAR/ROT/TP-PL

Strokes: EU AEUT AEU KAR ROT TP-PL STRL STRL STR*L Translation: I ate AEU/KAR/ROT/TP-PL #+end_example

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

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

or

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