Google Translate : Google Translate for Vim
script karma |
Rating 25/11,
Downloaded by 1037 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Slava Rudy |
|
script type |
utility |
|
description |
Example of using:
:Translate Hello World |
|
install details |
Dependencies:
Ruby and Rubygems;
sudo gem install google-translate;
Put plugin in Vim plugin directory (.vim/plugin)
Add in your .vimrc, string (For translation to Russian)
let g:langpair="ru"
Also, you can use translator in visual-mode for code blocks. Just put shortcut for a key bind
let g:vtranslate="T"
Now you can select the text, and by pressing Shift-T Google Translate will process the block.
If you wish, you can change the color results by using of command :echohl |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.145.28.3
|