plover_clippy fork focused on extensibility and useability
Project description
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
-
Windows
Get-Content -path "$($env:LOCALAPPDATA)\plover\plover\clippy_2.org" -Wait -Tail 30
-
Linux
tail -f clippy_2.org
-
WSL
Note that on WSL, the flag `—disable-inotify` may be required to make `tail` work
tail -f ---disable-inotify clippy_2.org
-
Plover-live-view-nvim (neovim only)
-
vim-autoread (vim only [no nvim])
- This plugin is a live viewer for buffer viewing
-
Extra
- see file viewing for more cool recipes
Advanced
Customization
- In your config directory create a python file:
- clippy_2_cfg.py
- feel free to write all your customization code here!
-
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
- Below are some states that can be set by the user
-
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
- The different formats come from different "sources", choose
whenever you want!!!
-
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"
- The suggestions come from different sources, and you can choose
which sources to include!!!
-
distillation sources
- TODO
-
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)
- multifile output, each with different configurations
- see extended docs for more information
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_clippy_2-0.0.7.tar.gz
(27.6 kB
view details)
Built Distribution
File details
Details for the file plover_clippy_2-0.0.7.tar.gz
.
File metadata
- Download URL: plover_clippy_2-0.0.7.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c42f69ed6b114609dda0ee71867b4cb2736f1edeab63a09a4003e41ae6503ec2 |
|
MD5 | 0dada43bd2b86715ca137760aa8a226e |
|
BLAKE2b-256 | ad0f9584dd48f76574c72e214f305d717404618fa89869d1fe3bb45e25974c4d |
File details
Details for the file plover_clippy_2-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: plover_clippy_2-0.0.7-py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66e42f3a57111638c7ed50c1396927e9bf13a5a219ef78b7eee1f2eedd5226b0 |
|
MD5 | afe2108e10526bff495dc641eee0ff8e |
|
BLAKE2b-256 | 1c30cc956c53e0445a052267310f9fc356d57487c83f995a3d3cfb7e20fe9128 |