Skip to main content

Plover_clippy_2

Installation

simple

  • To install this plugin, right click the plover icon. go to tools -> plugins manager, find `plover-clippy-2`, and click "install/update".
  • When it finishes installing, restart Plover, go to configure -> plugins, and check the box next to `plover_clippy_2` to activate the plugin

File viewing

  • Now that you have installed this plugin it's time to use it!
  • By default the output is written into clippy_2.org in your config files
    • The same place as where your user.json and main.json is located

Terminal

  • here are some live commands for different platforms
  1. Windows

    • press start, type 'powershell' enter, then copy and paste the following:
    Get-Content -path "$($env:LOCALAPPDATA)\plover\plover\clippy_2.org" -Wait -Tail 30
    
  2. Linux

    tail -f clippy_2.org
    
  3. WSL

    Note that on WSL, the flag `—disable-inotify` may be required to make `tail` work

    tail -f ---disable-inotify clippy_2.org
    
  4. Plover-live-view-nvim (neovim only)

    • This plugin is a live viewer which supports:
      • Splits - You can split both horizontally and vertically and customize the sizes of the splits
      • Terminal viewing (requires harpoon)
  5. vim-autoread (vim only [no nvim])

    • This plugin is a live viewer for buffer viewing
  6. Extra

Advanced

Customization

  • In your config directory create a python file:
    • clippy_2_cfg.py
  • feel free to write all your customization code here!
  1. Initialization

    • Below are some states that can be set by the user
      • Note that these are the basic defaults (see extended docs for more)
    def initPost(obj, clippy):
        clippy.state.output_file_name = "clippy_2.org"
        clippy.state.efficiency_symbol = "*"
        clippy.state.max_pad_efficiency = 5
        clippy.state.max_pad_english = 15
        clippy.state.justify = "left"
        clippy.state.last_num_translations = 10
    
    • output_file_name: name of the output file, directory location will default to config directory
    • efficiency_symbol: any one character symbol used to denote how many strokes can be saved
    • max_pad_efficiency: the maximum number of efficiency symbols that are allowed to be displayed
    • max_pad_english: the maximum amount of space padding for English translations
    • justify: add white space either "left" or "right" to the output
    • last_num_translations: these number of translations are used to give suggestions
    • note: initPost executes after this plugin initializes itself
  2. Formatting Sources

    • The different formats come from different "sources", choose whenever you want!!!
      • below is the default, but feel free to comment out whichever you want
    def startPost(obj, clippy):
        clippy.formatting.sources.set(
            ["Org", {"mode": "defaultSuggest"}]
            # ["Org", {"mode": "debugSuggest"}]
            # ["Org", {"mode": "minimalSuggest"}]
    
            # ["Retro", {"mode": "defaultSuggest"}]
            # ["Retro", {"mode": "minimalSuggest"}]
            )
    
    • For more information on customizing formatting sources, see the extended docs
  3. Suggestion sources

    • The suggestions come from different sources, and you can choose which sources to include!!!
      • Listed below are the defaults
    clippy.translations.sources.set("Undo", "FingerSpelling", "Retro", "Tkfps")
    
    • see Suggestion Sources for a more information on what each source does
    • see Sources for other methods like "append" and "prepend"
  4. distillation sources

    • TODO
  5. Extremity Sources

    • TODO

Multiple configurations

  • In this plugin it is possible to use multiple configurations to do crazy things like:
    • multifile output, each with different configurations
      • for example one file could have syntax highlighting and the other doesn't
    • become a framework for other text output programs like tapey-tape (maybe in the future)
  • see extended docs for more information

Metadata

Release files for plover-clippy-2 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plover-clippy-2 0.0.8
File Size Uploaded
plover_clippy_2-0.0.8.tar.gz 27.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plover-clippy-2 0.0.8
File Interpreter ABI Platform
plover_clippy_2-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 64.7 kB

Release files / plover_clippy_2-0.0.8.tar.gz

Download URL plover_clippy_2-0.0.8.tar.gz
Size 27.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bc89fda362f66bf972ddda35d78f5b775ace15e2a0f87cdc8405fda1bfc9ebfe
BLAKE2b-256 checksum
How to use checksums
b381a260267bf64da6301eb47021db39583f0ed75ad4a6398642da3a1c22d71a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.2

Release files / plover_clippy_2-0.0.8-py3-none-any.whl

Download URL plover_clippy_2-0.0.8-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a18978acd0b05d3be6499aa8dcacbf177a78de3d1cf23e3e0f30652f152012e5
BLAKE2b-256 checksum
How to use checksums
69bdf8600680bd01d586f31d0ff15bae53a2b09ead0d6c146f2b9340864f7509
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page