From 02fb2bd3f420a76b610901de7249e6b287153a1d Mon Sep 17 00:00:00 2001 From: Fabien Dubosson Date: Mon, 2 Nov 2015 22:18:11 +0100 Subject: [PATCH] Disable automatic call to flyspell-buffer Some users complained about slowness when opening files due to spell-checking being activated. This commit revert to old behaviour checking only the words under the cursor and not the whole buffer. --- layers/spell-checking/README.org | 1 + layers/spell-checking/packages.el | 1 + 2 files changed, 2 insertions(+) diff --git a/layers/spell-checking/README.org b/layers/spell-checking/README.org index 844af7e36..b83f1f93d 100644 --- a/layers/spell-checking/README.org +++ b/layers/spell-checking/README.org @@ -84,6 +84,7 @@ currently supported language: | Key Binding | Description | |-------------+--------------------------| +| ~SPC S b~ | flyspell whole buffer | | ~SPC S c~ | flyspell correct | | ~SPC S d~ | change dictionary | | ~SPC S n~ | flyspell goto next error | diff --git a/layers/spell-checking/packages.el b/layers/spell-checking/packages.el index 2039ef63e..7cac9b07d 100644 --- a/layers/spell-checking/packages.el +++ b/layers/spell-checking/packages.el @@ -61,6 +61,7 @@ :evil-leader "tS") (evil-leader/set-key + "Sb" 'flyspell-buffer "Sd" 'spell-checking/change-dictionary "Sn" 'flyspell-goto-next-error)) :config