From 6c593a9853eb5fe419133b26be55f21790031aab Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 30 Jun 2021 15:57:42 +0200 Subject: [PATCH] Add aspell packages, configure flyspell-correct --- .config/emacs/config.org | 7 +++++++ packages | 2 ++ 2 files changed, 9 insertions(+) diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 007897f..fb6c930 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -254,6 +254,9 @@ Install and configure packages. ((latex-indent-line . 4) (latex-indent-region . 4))) (smart-tabs-insinuate 'c 'c++ 'java 'python 'latex)) + +(use-package flyspell-correct + :after flyspell) #+END_SRC *** Evil @@ -1598,6 +1601,10 @@ Set keybinds to functionality of installed packages. (global-set-key (kbd "M-s") 'avy-goto-char-timer) (global-set-key (kbd "M-x") 'dot/M-x) +;; flyspell-correct +(with-eval-after-load 'flyspell-correct + (global-set-key [remap ispell-word] #'flyspell-correct-at-point)) ; z= + ;; Helpful overwrite default help functions (global-set-key [remap describe-command] #'helpful-command) (global-set-key [remap describe-function] #'helpful-callable) diff --git a/packages b/packages index 3b6e696..4780fa4 100644 --- a/packages +++ b/packages @@ -4,6 +4,8 @@ alsa-utils arandr arc-gtk-theme arc-icon-theme +aspell-en +aspell-nl base breeze-icons brightnessctl