{"id":20324626,"url":"https://github.com/gh640/sublimemacdictionary","last_synced_at":"2025-08-18T19:44:09.588Z","repository":{"id":49590407,"uuid":"115386160","full_name":"gh640/SublimeMacDictionary","owner":"gh640","description":"📚 A Sublime Text 3 / 4 package to use MacOS dictionary service in popup windows.","archived":false,"fork":false,"pushed_at":"2021-07-04T07:29:03.000Z","size":1288,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T19:53:07.056Z","etag":null,"topics":["macos","sublime-package","sublime-text","sublime-text-3","sublime-text-4"],"latest_commit_sha":null,"homepage":"https://packagecontrol.io/packages/MacDictionary","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gh640.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-26T04:43:54.000Z","updated_at":"2024-01-11T05:42:13.000Z","dependencies_parsed_at":"2022-09-10T11:20:31.512Z","dependency_job_id":null,"html_url":"https://github.com/gh640/SublimeMacDictionary","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/gh640/SublimeMacDictionary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2FSublimeMacDictionary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2FSublimeMacDictionary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2FSublimeMacDictionary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2FSublimeMacDictionary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gh640","download_url":"https://codeload.github.com/gh640/SublimeMacDictionary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2FSublimeMacDictionary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271050782,"owners_count":24691184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["macos","sublime-package","sublime-text","sublime-text-3","sublime-text-4"],"created_at":"2024-11-14T19:36:36.473Z","updated_at":"2025-08-18T19:44:09.536Z","avatar_url":"https://github.com/gh640.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MacDictionary\n\nA Sublime Text 3 / 4 package which provides a popup function for the macOS dictionary service.\n\n![SublimeMacDictionary capture](https://raw.githubusercontent.com/gh640/SublimeMacDictionary/master/assets/images/capture.png)\n\n\n## Dependencies\n\nThis package depends on [Sublime Markdown Popups (mdpopups)](https://github.com/facelessuser/sublime-markdown-popups/). You don't need to install it separately since it's automatically installed when you use [Package Control](https://packagecontrol.io/) to install this package.\n\n\n## Installation\n\nIt's easy to install this package with [Package Control](https://packagecontrol.io/). If you haven't installed Package Control yet, first install it following the [instruction](https://packagecontrol.io/installation).\n\nOnce you've installed Pacakge Control, restart your Sublime Text and open the command palette (\u003ckbd\u003ectrl/cmd + shift + p\u003c/kbd\u003e). Then, find and select `Package Control: Install Package`. You will see `MacDictionary` in the list and select it.\n\n\n## Usage\n\n![SublimeMacDictionary animated capture](https://raw.githubusercontent.com/gh640/SublimeMacDictionary/master/assets/images/capture-animation.gif)\n\n### Commands\n\nThis package provides the following commands.\n\n- MacDictionary: Show definition (`mac_dictionary_show_def_for_selection`)\n- MacDictionary: Switch brute mode (`mac_dictionary_brute_mode_switch`)\n\nYou can run these commands with the command palette (ctrl/cmd + shift + p).\n\nAlso you can set any custom key binding to run a command:\n\n```json\n[\n  {\n    \"keys\": [\"shift+ctrl+d\"],\n    \"command\": \"mac_dictionary_show_def_for_selection\"\n  }\n]\n```\n\n### Context menu (right click menu)\n\nOr, you can use the context menu item `Show definition` to open the definition popup.\n\n### Brute mode\n\nAdditionally, you can use a mode named `brute_mode` with which the package tries to generate a popup aggressively every time when you move your mouse cursor. With the mode enabled, you don't need to call the command.\n\n![SublimeMacDictionary animated capture for brute mode](https://raw.githubusercontent.com/gh640/SublimeMacDictionary/master/assets/images/capture-animation-brute_mode.gif)\n\nThe mode is disabled by default. You can enable it through the package settings:\n\n```json\n{\n  \"brute_mode\": true\n}\n```\n\nYou can also use `MacDictionary: Switch brute mode` in the Command Palette to switch the `brute_mode`.\n\n### Switching dictionaries\n\nAlthough the macOS dictionary has a range of built-in and downloadable dictionaries, Apple unfortunately does not provide an API to the one that is used. Therefore, the package will return the first match from all enabled dictionaries. If you want to change that, you can do so with a workaround: In dictionary.app, open the preferences and drag your preferred dictionary (such as a thesaurus) to the top. You should see that it now has also moved to the leftmost position in the selection bar on top of the main app window.\n\nAfter restarting sublime, the package will now use your new primary dictionary.\n\n## License\n\nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh640%2Fsublimemacdictionary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgh640%2Fsublimemacdictionary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh640%2Fsublimemacdictionary/lists"}