semvec/pypi-packages huggingface dataset:
plover-retro-everything 0.0.3
Surround words you previously typed with arbitrary translations, allowing you to turn most mode-switching plugin into a retro-plugin!
License: MIT
Keywords: plover_plugin plover

# Plover Retro EVERYTHING

Surround words you previously typed with arbitrary translations, 
allowing you to turn most mode-switching plugin into a retro-plugin!

## Usage

Add dictionary entries like these:

```json
"KARPS": "=retro_everything:{MODE:CAPS},{MODE:RESET})",
"*UPBDZ": "=retro_everything:{MODE:SET_SPACE:_},{MODE:RESET})"
```
and that's it!
plover-retro-surround 0.0.4
Surround words you previously typed with arbitrary characters
License: MIT
Keywords: plover_plugin plover

# Plover Retro surround

Surround an arbitrary amount of words with any string after you've already written them.

## Usage

Add dictionary entries like these:

```json
"SPREPBS": "{:retro_surround:1:(:)}"
"SPREPBS/SPREPBS": "{:retro_surround:2:(:)}"
"SPREPBS/SPREPBS/SPREPBS": "{:retro_surround:3:(:)}"
```
and that's it!
plover-retro-stringop 0.1.2
Run arbitrary Python code on the last n words!
License: MIT
Keywords: plover plover_plugin

# plover_retro_stringop

Run arbitrary code on the last n words!
This is inheritly unsafe and horrible, yay!

Complaints go to **[[redacted]]@[[redacted]].com**.

### Usage

`{:retro_stringop:N:EXPR}`, where `N` is the number of words (backwards) to work on and `EXPR` is the expression that constitutes the new text.
This has `text` as the entire string and `words` as an array of the individual words (already stripped, use `raw_words` for words including the spaces).

`{:retro_stringop_sh:N:EXPR}` does the same stuff, but calls `/bin/sh`, and provides the text as `TEXT` env var.

### Examples

- `{:retro_stringop:1:"(" + text + ")"}`: surround last word in parenthesis
- `{:retro_stringop:2:"(" + text + ")"}`: surround last two words in parenthesis
- `{:retro_stringop_sh:1:echo "$TEXT" | tee some-file.txt}`: log last word to some-file.txt (tee is used here to so that the word doesn't get deleted)
- `{:retro_stringop:1:text[::-1]}`: reverse the last word
- `{:retro_stringop_sh:1:cat "$TEXT"}`: read the last word as a filename, and read that file, replacing the filename with the content
- `{:retro_stringop:3:"".join([w.lower().capitalize() for w in words])}`: PascalCase the last 3 words