{"id":18716589,"url":"https://github.com/timothyye/vim-ydict","last_synced_at":"2025-07-11T00:09:56.057Z","repository":{"id":147047093,"uuid":"174062720","full_name":"TimothyYe/vim-ydict","owner":"TimothyYe","description":"A Vim plugin for ydict","archived":false,"fork":false,"pushed_at":"2019-04-08T06:49:25.000Z","size":7,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T12:49:09.344Z","etag":null,"topics":["vim-ydict","vim-youdao","ydict","youdao"],"latest_commit_sha":null,"homepage":"","language":"Vim script","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/TimothyYe.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-06T03:17:26.000Z","updated_at":"2024-08-14T04:07:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b6cc7ca-f2c7-4db2-ae65-1138ee18739b","html_url":"https://github.com/TimothyYe/vim-ydict","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TimothyYe/vim-ydict","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Fvim-ydict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Fvim-ydict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Fvim-ydict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Fvim-ydict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimothyYe","download_url":"https://codeload.github.com/TimothyYe/vim-ydict/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Fvim-ydict/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264696505,"owners_count":23650937,"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","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":["vim-ydict","vim-youdao","ydict","youdao"],"created_at":"2024-11-07T13:13:10.046Z","updated_at":"2025-07-11T00:09:56.044Z","avatar_url":"https://github.com/TimothyYe.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-ydict\n`vim-ydict` is a Vim plugin for [ydict](https://github.com/TimothyYe/ydict), it helps you to query words from Vim.\n\n## Installation\n\nvim-ydict relies on [ydict](https://github.com/TimothyYe/ydict), to use it, you need to install ydict first.\n\nUse Homebrew to install ydict:\n\n```bash\nbrew tap timothyye/tap\nbrew install timothyye/tap/skm\n```\nOr you can download it from the [release](https://github.com/TimothyYe/ydict/releases) page.\n\nNow you can install `vim-ydict`.\n\n### Plug\n\n```text\nPlug 'TimothyYe/vim-ydict'\n```\n\n## Settings\n\n`vim-ydict` supports 3 different query modes:\n\n1. Query words from current cursor position, supported by command `:Ydc`.\n2. Query selected words from the select mode, supported by command `:Ydv`.\n3. Query words from user's input, supported by command `:Yde`.\n\n## Examples\n\nEdit your `vimrc` file, add example settings.\n\n1. Press `Ctrl+t` to query selected words:\n\n```text\nvnoremap \u003csilent\u003e \u003cC-T\u003e :\u003cC-u\u003eYdv\u003cCR\u003e\n```\n\n2. Use `\u003cleader\u003e+yc` to query words from current cursor position:\n\n```text\nnnoremap \u003cleader\u003eyc :\u003cC-u\u003eYdc\u003cCR\u003e\n```\n\n3. Use `\u003cleader\u003e+yd` to input the words you want to query:\n\n```text\nnoremap \u003cleader\u003eyd :\u003cC-u\u003eYde\u003cCR\u003e\n```\n\n## Demo\n\n![](https://xiaozhou.net/pics/ydict.gif)\n\n## License\nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothyye%2Fvim-ydict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimothyye%2Fvim-ydict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothyye%2Fvim-ydict/lists"}