Skip to content

bujnlc8/omz-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

omz-translator plugin

Introduction

The omz-translator plugin get the translation result from baidu translator. Support both chinese and english.

To use it, clone the repository into ~/.oh-my-zsh/plugins/, add omz-translator to the plugins array of your zshrc file:

plugins=(... omz-translator)

Functions

  • tt + [words]: translate the words from english to chinese or from chinese to english

  • tZ + [chinese words]: query the result from chinese dictionary.

If not support the words, it will try to read words from stdin or system clipbodard.

Keys

  • TT: translate the words from system clipbodard.

Attentions

Releases

No releases published

Packages

No packages published