Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 986 Bytes

README.mkd

File metadata and controls

46 lines (34 loc) · 986 Bytes

googletranslate.vim

Description

Translate text using Google Translate API.

Usage

:GoogleTranslate

translate current line.

:'<,'>GoogleTranslate

translate text that blockwize visual.

:GoogleTranslate ja

translate current line to japanese.

:GoogleTranslate zh-cn ja

translate current line from chinese to japanese.

:GoogleTranslate zh-cn ja 谷歌翻译

translate '谷歌翻译' from chinese to japanese.

:Trans

alias for :GoogleTranslate

:GoogleTranslateBalloon on

set balloon on, and translate when mouse hover.

:GoogleTranslateBalloon off

set balloon off.

<leader>gt

TODO: make output area. translate current visual-inline selection range.

See Also

Author

  • mattn
  • hotoo