Skip to main content

Macro plugins for Plover to repeat output.

Project description

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.

  1. Open Plover

  2. Navigate to the Plugin Manager tool

  3. Select the “plover-last-translation” plugin entry in the list

  4. Click install

  5. 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

      1. Number of previous translations to output. Default is 1.

  • repeat_last_word

    • Arguments

      1. Number of previous words to output. Default is 1.

  • repeat_last_fragment

    • Arguments

      1. Number of previous fragments to output. Default is 1.

  • repeat_last_character

    • Arguments

      1. Number of previous characters to output. Default is 1.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plover_last_translation-0.0.2.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

plover_last_translation-0.0.2-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page