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.

Files for plover-last-translation, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size plover_last_translation-0.0.2-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size plover_last_translation-0.0.2.tar.gz (16.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page