xuchunyang / flyspell-popup

Correcting words with Flyspell in popup menus
36 stars 3 forks source link

[[http://stable.melpa.org/#/flyspell-popup][file:http://stable.melpa.org/packages/flyspell-popup-badge.svg]] [[http://melpa.org/#/flyspell-popup][file:http://melpa.org/packages/flyspell-popup-badge.svg]] [[http://www.gnu.org/licenses/gpl-3.0.html][file:http://img.shields.io/:license-gpl3-blue.svg]]

Correct the misspelled word in popup menu:

[[./images/screenshot-1.png]]

** Usage Call ~flyspell-popup-correct~ to correct misspelled word at point with a Popup Menu. You might want to bind it to a short key, for example:

+BEGIN_SRC emacs-lisp

 (define-key flyspell-mode-map (kbd "C-;") #'flyspell-popup-correct)

+END_SRC

You can also enable ~flyspell-popup-auto-correct-mode~ to popup that Popup Menu automatically with a delay (default 1.6 seconds):

+BEGIN_SRC emacs-lisp

 (add-hook 'flyspell-mode-hook #'flyspell-popup-auto-correct-mode)

+END_SRC