Inferior sdcv mode to search words.
There is already a sdcv-mode written by the original author: https://github.com/pluskid/sdcv-mode But I only need a few functions, so I write this simpler version.
Download the repository, then
(load "/path/to/inf-sdcv-mode.el")
(require 'inf-sdcv-mode)If you want to pronounce a word, put the mw-audio file in your $PATH. The
variable inf-sdcv-sound-dir will set the directory of the audio files.
Bind the main function inf-sdcv-search to your favorite key. For example, I
use C-c d (this keybindings is not default).
The keybings of inf-sdcv-mode-map is:
| keybindings | description |
|---|---|
j | jump to the specific dictionary |
r | search history backward |
l | search history forward |
h | hide all dicts contents, only show the name of dictionary |
a | show all contents |
e | show current dictionary contents |
m | hide current dictionary contents |
N | next dictionary |
P | previous dictionary |
s | pronounce a word |
c | copy the pronunciation file URI to clipboard |
Original author: pluskid Ref: https://lifegoo.pluskid.org/wiki/EmacsStardict.html
