Plover Last Translation
Macro plugins for Plover to repeat output.
Installation
Download the latest version of Plover for your operating system from the releases page. Only versions 4.0.0.dev6 and higher are supported.
- Open Plover
- Navigate to the Plugin Manager tool
- Select the "plover-last-translation" plugin entry in the list
- Click install
- Restart Plover
The same method can be used for updating and uninstalling the plugin.
Usage
In order to use these plugins you just need to create dictionary entries of the form:
{
"example_stroke": "=macro_name:macro_arg1,macro_arg2,..."
}
The available macros are:
- repeat_last_translation
- Arguments
- Number of previous translations to output. Default is 1.
- Arguments
- repeat_last_word
- Arguments
- Number of previous words to output. Default is 1.
- Arguments
- repeat_last_fragment
- Arguments
- Number of previous fragments to output. Default is 1.
- Arguments
- repeat_last_character
- Arguments
- Number of previous characters to output. Default is 1.
- Arguments
Some quick examples of the various acceptable forms:
{
"1_translation_stroke": "=repeat_last_translation",
"1_translation_stroke": "=repeat_last_translation:",
"2_translations_stroke": "=repeat_last_translation:2",
"5_fragments_stroke": "=repeat_last_fragment:5,"
}
For the difference between a word and a fragment, see the RetroFormatter documentation.