{ "info": { "author": "Ian Cloud", "author_email": "ko0oyotl@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Plugins", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "Plover Dict Commands\n====================\n\n*Plugin for enabling, disabling, and changing the priority of dictionaries in Plover.*\n\n**PRIORITY_DICT**\n\n``{PLOVER:PRIORITY_DICT:dict1.json,dict2.json,...}``\n\nMoves selected dictionaries to the top of the dictionary stack.\n\n\n**TOGGLE_DICT**\n\n``{PLOVER:TOGGLE_DICT:+dict1.json,-dict2.json,!dict3.json}``\n\nTurns dictionaries on or off entirely. Each dictionary is prepended with a control symbol:\n\n \\+ enables a dictionary\n\n \\- disables a dictionary\n\n ! toggles a dictionary\n\n\n**SOLO_DICT and END_SOLO_DICT**\n\n``{PLOVER:SOLO_DICT:+dict1.json...}``\n\n``{PLOVER:END_SOLO_DICT}``\n\nFor temporarily toggling a new list of dictionaries without affecting the old\ndictionary stack. Uses the same control symbols as TOGGLE_DICT,\nthough if the mode itself does not need to toggle its own dictionaries,\nusing only the + to enable dictionaries should be sufficient because\nthe SOLO_DICT command starts with a clean slate of disabled dictionaries.\n\n``END_SOLO_DICT`` restores the dictionary stack to its original state before\na ``SOLO_DICT`` command. Together these two commands are convenient for entering and exiting temporary modes without unexpected interference\nfrom multistroke entries in lower priority dictionaries.\n\nSOLO_DICT backs up your old dictionary stack to a file in your plover configuration directory.\nIf you quit Plover while a SOLO_DICT mode is enabled, using an END_SOLO_DICT stroke will set\nit back to normal.\n\n**Safe temporary modes for programs such as vim**\n\nTo keep vim normal mode predictable and not trigger unexpected strings of\ncommands if Plover sends vim a whole word worth of keystrokes, potential\ninterference from other dictionaries must be prevented and the display of\nuntranslated strokes must be suppressed.\n\nSuppressing untranslated strokes can be done with a very simple python\ndictionary at the lowest priority of the dictionary stack that translates\nanything that reaches it into \"{null}\".\n\n.. code:: python\n\n #suppress_untranslates.py\n\n LONGESTKEY = 1\n def stroke(key):\n return \"{null}\"\n\nLoading python dictionaries requires installing the follow plugin:\n\nhttps://github.com/benoit-pierre/plover_python_dictionary\n\nSample dictionary entry for exiting vim's insert mode and enabling the command dictionary:\n\n``\"SREFBG\":\"{^}{#Escape}{PLOVER:SOLO_DICT:+vim_navigation.json,+suppress_untranslates.py}``\n\nTo get back out of the mode and put vim back in insert mode, vim_navigation.json needs\none of these definitions:\n\n``\"STPHERT\":\"{PLOVER:END_SOLO_DICT}{^}{#i}\"``\n\n**Language toggling**\n\nWhich way to switch between languages is easiest depends on how many dictionaries you use at\nonce and how often you plan to change your default dictionary setup.\n\nFor a short and rarely changing list of dictionaries, a toggle stroke that deals with all\nthe dictionaries of both languages is easily done.\n\n``\"THROLG\":\"{PLOVER:TOGGLE_DICT:!spanish/main.json,!spanish/user.json,!english/main.json,!english/user.json}\"``\n\nIn this case, dictionaries that are not language specific, like for navigation and commands,\ncan be left alone.\n\nIf you have a long or frequently changing list of dictionaries, a command like the previous one would\nhave to be updated often to avoid unpredictable behavior. If a new dictionary of a language you're not\nusing is active, even at a lower priority, you will likely have single stroke words in one language\nturn into multistroke words in the other language from time to time. It may be easier in this case\nto trigger a secondary set of language dictionaries as a temporary mode as in the vim example\nbecause it will continue to work if you add or remove dictionaries in the primary language.\n\nBecause SOLO_DICT starts with a clean slate, be sure to include any navigation/command dictionaries\nyou want to use while writing in the other language in the list of enabled dictionaries passed to\nSOLO_DICT.\n\n``\"SPAELG\":\"{PLOVER:SOLO_DICT:+spanish/main.json,+spanish/user.json,+commands.json}\"``\n\nAnd in one of the activated dictionaries, have an END_SOLO_DICT definition to restore your previous\nset of dictionaries.\n\n``\"SPWHRAPBG\":\"{PLOVER:END_SOLO_DICT}\"``", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/KoiOates/plover_dict_commands", "keywords": "plover plover_plugin", "license": "GNU General Public License v2 or later (GPLv2+)", "maintainer": "", "maintainer_email": "", "name": "plover-dict-commands", "package_url": "https://pypi.org/project/plover-dict-commands/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/plover-dict-commands/", "project_urls": { "Homepage": "https://github.com/KoiOates/plover_dict_commands" }, "release_url": "https://pypi.org/project/plover-dict-commands/0.2.5/", "requires_dist": null, "requires_python": "", "summary": "Dictionaries stack manipulation commands for Plover", "version": "0.2.5" }, "last_serial": 2947495, "releases": { "0.2.4": [ { "comment_text": "", "digests": { "md5": "b668951ad4bfb4cc2a584bd84180517b", "sha256": "269b34a72ca512617859cb8a8c42281ac27b5844e1e91de0a1c5495942d0d441" }, "downloads": -1, "filename": "plover_dict_commands-0.2.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b668951ad4bfb4cc2a584bd84180517b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8005, "upload_time": "2017-06-11T14:08:16", "url": "https://files.pythonhosted.org/packages/25/1f/8cdec1a3f76a23830bf0cc0aa85e0cd461be73aa3f05d0415c52172ef2fa/plover_dict_commands-0.2.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "33a2737919b67043be34842cb4bd4879", "sha256": "2310495994cd6c9e3b7bbf3cf328b27287ec5af4df361ffa0cb0e4793a1a12a3" }, "downloads": -1, "filename": "plover_dict_commands-0.2.4.tar.gz", "has_sig": false, "md5_digest": "33a2737919b67043be34842cb4bd4879", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5871, "upload_time": "2017-06-11T14:08:31", "url": "https://files.pythonhosted.org/packages/5a/76/469936de4f1731ca67700f3232e050921a443b629068758c5d4305324099/plover_dict_commands-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "d9182cbd994d288579ceec0bb8d2f72d", "sha256": "6a7f72c5b18510a0302e48b39b882a168f31eebbc54e60f2b4fab1b1d22706a1" }, "downloads": -1, "filename": "plover_dict_commands-0.2.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d9182cbd994d288579ceec0bb8d2f72d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8084, "upload_time": "2017-06-13T16:34:48", "url": "https://files.pythonhosted.org/packages/0f/10/3afb49af61c0f4a7f9f18b8f0d5772a321edff6e6a413d5a67dd47020bda/plover_dict_commands-0.2.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "750affc396438ce8c712a94b9970bf6d", "sha256": "922fcce55d74e986d03236509a44cdc81cc56e85588bfc748642c05ea3f293c4" }, "downloads": -1, "filename": "plover_dict_commands-0.2.5.tar.gz", "has_sig": false, "md5_digest": "750affc396438ce8c712a94b9970bf6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6299, "upload_time": "2017-06-13T16:34:24", "url": "https://files.pythonhosted.org/packages/dc/e1/67133b60f7d236e58d7f9da0fd163715212e74b11d33b2a7f309320dfe79/plover_dict_commands-0.2.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d9182cbd994d288579ceec0bb8d2f72d", "sha256": "6a7f72c5b18510a0302e48b39b882a168f31eebbc54e60f2b4fab1b1d22706a1" }, "downloads": -1, "filename": "plover_dict_commands-0.2.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d9182cbd994d288579ceec0bb8d2f72d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8084, "upload_time": "2017-06-13T16:34:48", "url": "https://files.pythonhosted.org/packages/0f/10/3afb49af61c0f4a7f9f18b8f0d5772a321edff6e6a413d5a67dd47020bda/plover_dict_commands-0.2.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "750affc396438ce8c712a94b9970bf6d", "sha256": "922fcce55d74e986d03236509a44cdc81cc56e85588bfc748642c05ea3f293c4" }, "downloads": -1, "filename": "plover_dict_commands-0.2.5.tar.gz", "has_sig": false, "md5_digest": "750affc396438ce8c712a94b9970bf6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6299, "upload_time": "2017-06-13T16:34:24", "url": "https://files.pythonhosted.org/packages/dc/e1/67133b60f7d236e58d7f9da0fd163715212e74b11d33b2a7f309320dfe79/plover_dict_commands-0.2.5.tar.gz" } ] }