(Gif is older version of typo-suggest but idea is same)
This package is a datamuse api or ispell backends for fixing typos, getting suggestions and finding the correct word with helm
or company-mode
.
Package is avalible in melpa. So you can install directly M-x package-install
, typo-suggest
or if you use use-package (use-package typo-suggest)
.
Use M-x typo-suggest-helm
for helm completion.
For company mode backend, type M-x typo-suggest-company-mode
. It will activate or deactivate typo-suggest back-end.
I don’t prefer to use it with hook but if you want it:
(add-hook 'org-mode-hook 'typo-suggest-company-mode)
You can change the backends with:
(setq typo-suggest-default-search-method 'datamuse) ;; beter but online
(setq typo-suggest-default-search-method 'ispell) ;; not good but local if you installed ispell
typo-suggest-suggestion-count
is for the count of suggestions from backends. You can upper or lower value for the your choice. typo-suggest-timeout
is for the remote server timeout for datamuse backend. If your connection is unstable, you may want to increase this value.
(setq typo-suggest-suggestion-count 20)
(setq typo-suggest-timeout 1)
Company mode or helm mode is not running asyncronous. Helm is not frustrating but if the company-idle-delay varible is so low, company mode is not fast on datamuse
backend.
- [X] Google translate integration.
- [ ] Ivy integration.