(use-package flyspell ;; package is bundled with emacs :ensure nil ;; load flyspell automatically for these modes :hook ((git-commit-mode . flyspell-mode) (gfm-mode . flyspell-mode)) :bind (:map flyspell-mode-map ("C-c s" . flyspell-correct-word-before-point))) (provide 'init-flyspell)