sponsor Vim development Vim logo Vim Book Ad

TranslateEnToCn : translate english to chinese in vim

 script karma  Rating 20/9, Downloaded by 1349  Comments, bugs, improvements  Vim wiki

created by
sowill cinderella
 
script type
utility
 
description
put cursor on the english word in normal mode , then type :Trans ,
or in Visual-mode type :TransV ,
I map the :Trans and :TransV to <Space>,just like
nnoremap <Space> :Trans<CR>
vnoremap <Space> <ESC>:TransV<CR>
in .vimrc files.
Now,Visual-mode only support 'v' and 'V','<C-V>' will be
treated same as 'v' mode

Tested in Gvim72 on WindowsXP
 
install details
drop it to plugin
require python2.5+
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
translate.vim 1.5 2010-03-07 6.0 sowill cinderella support Visual Mode
translate.vim 1.4 2010-03-01 7.0 sowill cinderella Add tips when no result was found or no word under cursor
translate.vim 1.3 2010-03-01 7.0 sowill cinderella fix the encoding bug
translate.vim 1.2 2010-02-27 7.0 sowill cinderella set the fileformat to unix, so it can be used in linix
translate.vim 1.1 2010-02-27 7.0 sowill cinderella Initial upload
ip used for rating: 34.228.7.237

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github