emacs/old-config/pkgs/dict-init.el

12 lines
305 B
EmacsLisp
Raw Normal View History

2018-04-07 10:54:04 +08:00
(defun dict-config ()
(setq url-automatic-caching t)
(global-set-key (kbd "C-c y") 'youdao-dictionary-search-at-point)
(setq youdao-dictionary-use-chinese-word-segment t))
(register-mypkg
(list :name "dict"
:enabled t
:packages '(youdao-dictionary)
:config #'dict-config))