Skip to main content

Avoid repeating yourself or guarantee a space before a word.

Project description

Avoid repeating yourself.

Usage

Prevent the Stacking of Characters

{:merge:text}

  • text: the text that shouldn’t be repeated

Use Cases

  • Merge with a prefix

    • Map your stroke to {:merge:word}

    • {con^}continue → concontinue

    • {con^}{:merge:continue} → continue

    • {con^}{:merge:continue}{:merge:continue} → continue continue

  • Ensure a word is always proceeded by a space

    • Map your stroke to {:merge: }word

    • {con^}{:merge: }word → con word

    • {con^}{:merge: }word{:merge: }word → con word word

  • Avoid repeating characters that you don’t want to repeat

    • Map your stroke to {:merge: word} or {^}{:merge:word}

    • hey{^}{:merge:.}{-|}there → hey. There

    • hey{^}{:merge:.}{-|}{^}{:merge:.}{-|}{^}{:merge:.}{-|}{^}{:merge:.}{-|}{^}{:merge:.}{-|}there → hey. There

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_merge_words-0.1.1.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

plover_merge_words-0.1.1-py3-none-any.whl (15.7 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