- A translation tool. I suggest translate-shell.
- A player for pronunciation. Defaults to mplayer
If you don't have a preferred method, I encourage you to use neobundle.vim.
NeoBundleLazy 'farseer90718/vim-translator', {
\ 'mappings' : '<Plug>Translate'
\ }Create you own mappings like this in your vimrc
vmap T <Plug>Translate
vmap R <Plug>TranslateReplace
vmap P <Plug>TranslateSpeak- Assign
g:translate_cmdto your preferred command for exampleydcv, the first target language specified is used in "translate and replace". - Assign
g:translate_playerto your preferred cli stream player.
MIT
