{"id":13594781,"url":"https://github.com/ianva/vim-youdao-translater","last_synced_at":"2025-04-13T10:55:06.077Z","repository":{"id":2756968,"uuid":"3754804","full_name":"ianva/vim-youdao-translater","owner":"ianva","description":"vim的有道取词翻译插件","archived":false,"fork":false,"pushed_at":"2019-10-30T02:38:33.000Z","size":42,"stargazers_count":132,"open_issues_count":3,"forks_count":32,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-06T17:42:36.922Z","etag":null,"topics":["translate","vim","vim-plugin","viml"],"latest_commit_sha":null,"homepage":"ianva.github.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ianva.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":"2012-03-18T12:37:48.000Z","updated_at":"2024-07-30T08:08:44.000Z","dependencies_parsed_at":"2022-08-26T19:11:14.725Z","dependency_job_id":null,"html_url":"https://github.com/ianva/vim-youdao-translater","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianva%2Fvim-youdao-translater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianva%2Fvim-youdao-translater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianva%2Fvim-youdao-translater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianva%2Fvim-youdao-translater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ianva","download_url":"https://codeload.github.com/ianva/vim-youdao-translater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229034175,"owners_count":18009504,"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":["translate","vim","vim-plugin","viml"],"created_at":"2024-08-01T16:01:39.059Z","updated_at":"2024-12-10T09:08:30.200Z","avatar_url":"https://github.com/ianva.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# vim youdao translater\n\nvim youdao translater 是一个利用 [有道词典在线版](http://dict.youdao.com/) 制作的vim插件，可以帮你在 vim 中翻译单词或语句\n\n## 安装\n\n### 版本说明\nVim 8.0 以上版本使用 3.0 及以上版本（支持异步查询）    \n低版本的 Vim，或者其他的非标准 Vim 如果出现问题请使用 [2.5.1](https://github.com/ianva/vim-youdao-translater/releases/tag/2.5.1) 版\n\n### 普通安装:\n把所有文件拷贝到 `~/.vim/` 目录下，就可以用了。\n\n\n### pathogen 安装：\n如果装有 pathogen 可以 :\n\n\tcd ~/.vim/bundle\n\tgit clone git@github.com:ianva/vim-youdao-translater.git\n\n\n###  其他\n添加 `~/.vimrc` 文件：\n\n```vim\nvnoremap \u003csilent\u003e \u003cC-T\u003e :\u003cC-u\u003eYdv\u003cCR\u003e\nnnoremap \u003csilent\u003e \u003cC-T\u003e :\u003cC-u\u003eYdc\u003cCR\u003e\nnoremap \u003cleader\u003eyd :\u003cC-u\u003eYde\u003cCR\u003e\n```\n\n## 如何使用\n\n在普通模式下，按 `ctrl+t`， 会翻译当前光标下的单词；\n\n在 `visual` 模式下选中单词或语句，按 `ctrl+t`，会翻译选择的单词或语句；\n\n点击引导键再点y，d，可以在命令行输入要翻译的单词或语句；\n\n译文将会在编辑器底部的命令栏显示。\n\n\n\n## License\n\n996 License\n\nCopyright (c) ianva\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianva%2Fvim-youdao-translater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fianva%2Fvim-youdao-translater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianva%2Fvim-youdao-translater/lists"}