All Projects → ianva → Vim Youdao Translater

ianva / Vim Youdao Translater

Licence: other
vim的有道取词翻译插件

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Vim Youdao Translater

Vimcompletesme
You don't Complete Me; Vim Completes Me! A super simple, super minimal, super light-weight tab completion plugin for Vim.
Stars: ✭ 752 (+548.28%)
Mutual labels:  viml, vim-plugin
Vim Grepper
👾 Helps you win at grep.
Stars: ✭ 1,030 (+787.93%)
Mutual labels:  viml, vim-plugin
Vim Diff Toggle
🛠 Vim plugin to speed up editing diff files
Stars: ✭ 17 (-85.34%)
Mutual labels:  viml, vim-plugin
Pear Tree
A Vim auto-pair plugin that supports multi-character pairs, intelligent matching, and more
Stars: ✭ 327 (+181.9%)
Mutual labels:  viml, vim-plugin
Vim Plugin Viewdoc
Vim plugin: flexible viewer for any documentation
Stars: ✭ 79 (-31.9%)
Mutual labels:  viml, vim-plugin
Vim Startify
🔗 The fancy start screen for Vim.
Stars: ✭ 4,479 (+3761.21%)
Mutual labels:  viml, vim-plugin
Vim Hexedit
Hexedit is a plug-in under VIM, which is used to strengthen the hex editing ability of VIM.
Stars: ✭ 42 (-63.79%)
Mutual labels:  viml, vim-plugin
Vim Rubocop
The Vim RuboCop plugin runs RuboCop and displays the results in Vim
Stars: ✭ 262 (+125.86%)
Mutual labels:  viml, vim-plugin
Vim Translate
A tiny translate-shell wrapper for Vim
Stars: ✭ 70 (-39.66%)
Mutual labels:  vim-plugin, translate
Viki vim
A personal wiki for Vim
Stars: ✭ 52 (-55.17%)
Mutual labels:  viml, vim-plugin
Vim Buffet
IDE-like Vim tabline
Stars: ✭ 304 (+162.07%)
Mutual labels:  viml, vim-plugin
Learn Vim
无废话极简版Vim学习笔记!文章按主题分拆为多个章节,并尽量控制每节的信息量;通过文字色彩和字体,将命令、快捷键突出显示;在每节结尾,提供一个命令列表,以便回顾文中介绍的重要命令。如果这些文章能对喜欢Vim的朋友有所益处,我将不胜荣幸。
Stars: ✭ 83 (-28.45%)
Mutual labels:  viml, vim-plugin
Blamer.nvim
A git blame plugin for neovim inspired by VS Code's GitLens plugin
Stars: ✭ 283 (+143.97%)
Mutual labels:  viml, vim-plugin
Vim Gnupg
This script implements transparent editing of gpg encrypted files.
Stars: ✭ 566 (+387.93%)
Mutual labels:  viml, vim-plugin
Jshint2.vim
Lightweight, customizable and functional Vim plugin for JSHint integration.
Stars: ✭ 265 (+128.45%)
Mutual labels:  viml, vim-plugin
Tskeleton vim
File Templates and Code Skeletons/Snippets for VIM
Stars: ✭ 33 (-71.55%)
Mutual labels:  viml, vim-plugin
Vifm.vim
Vim plugin that allows use of vifm as a file picker
Stars: ✭ 197 (+69.83%)
Mutual labels:  viml, vim-plugin
8cc.vim
C Compiler written in Vim script
Stars: ✭ 205 (+76.72%)
Mutual labels:  viml, vim-plugin
Vim Lookup
Jump to the definition of variables or functions in VimL code.
Stars: ✭ 51 (-56.03%)
Mutual labels:  viml, vim-plugin
Incsearch Easymotion.vim
Stars: ✭ 82 (-29.31%)
Mutual labels:  viml, vim-plugin

vim youdao translater

vim youdao translater 是一个利用 有道词典在线版 制作的vim插件,可以帮你在 vim 中翻译单词或语句

安装

版本说明

Vim 8.0 以上版本使用 3.0 及以上版本(支持异步查询)
低版本的 Vim,或者其他的非标准 Vim 如果出现问题请使用 2.5.1

普通安装:

把所有文件拷贝到 ~/.vim/ 目录下,就可以用了。

pathogen 安装:

如果装有 pathogen 可以 :

cd ~/.vim/bundle
git clone [email protected]:ianva/vim-youdao-translater.git

其他

添加 ~/.vimrc 文件:

vnoremap <silent> <C-T> :<C-u>Ydv<CR>
nnoremap <silent> <C-T> :<C-u>Ydc<CR>
noremap <leader>yd :<C-u>Yde<CR>

如何使用

在普通模式下,按 ctrl+t, 会翻译当前光标下的单词;

visual 模式下选中单词或语句,按 ctrl+t,会翻译选择的单词或语句;

点击引导键再点y,d,可以在命令行输入要翻译的单词或语句;

译文将会在编辑器底部的命令栏显示。

License

996 License

Copyright (c) ianva

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].