Git Product home page Git Product logo

youdao-dictionary.el's Introduction

http://melpa.org/packages/youdao-dictionary-badge.svg

Youdao Dictionary interface for Emacs

youdao-dictionary is a simple Youdao Dictionary (有道词典) interface for Emacs.

Dependencies

Notes: chinese-word-at-point.el requires an external tool to work correctly, for more info, see chinese-word-at-point.el#prerequisite.

Install

Install youdao-dictionary from MELPA with: M-x package-install RET youdao-dictionary

Usage

youdao-dictionary-search-at-point
Search word at point and display result with buffer
youdao-dictionary-search-at-point+
Search word at point and display result with popup-tip
youdao-dictionary-search-from-input
Search word from input and display result with buffer
youdao-dictionary-search-and-replace
Search word at point and display result with popup-menu, replace word with selected translation.

Sample configuration

;; Enable Cache
(setq url-automatic-caching t)

;; Key bindings
(global-set-key (kbd "C-c y") 'youdao-dictionary-search-at-point)

;; Integrate with popwin-el (https://github.com/m2ym/popwin-el)
(push "*Youdao Dictionary*" popwin:special-display-config)

;; Set file path for saving search history
(setq youdao-dictionary-search-history-file "~/.emacs.d/.youdao")

Related tool

ydcv
YouDao Console Version

youdao-dictionary.el's People

Contributors

xuchunyang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.