43

GitHub - manateelazycat/company-english-helper: English helper base on Emacs com...

 5 years ago
source link: https://github.com/manateelazycat/company-english-helper
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

What's this ?

This is english helper extension that base on Emacs company-mode.

screenshot.png

Install

  1. Copy file company-english-helper.el and company-english-helper-data.el to directory ~/elisp/

  2. And set in your ~/.emacs like this:

(add-to-list 'load-path (expand-file-name "~/elisp"))
  1. And the following to your ~/.emacs startup file.
(require 'company-english-helper)
  1. Execute command `toggle-company-english-helper' to write english on the fly!

Customize your dict.

Default english dictionary is generate from stardict KDict dictionary with below command

python ./stardict.py stardict-kdic-ec-11w-2.4.2/kdic-ec-11w.ifo

You can replace with your favorite stardict dictionary's info filepath to generate your own company-english-helper-data.el .


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK