summaryrefslogtreecommitdiff
path: root/settings/setup-flycheck.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--settings/setup-flycheck.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/setup-flycheck.el b/settings/setup-flycheck.el
index 558252b..db93a0e 100644
--- a/settings/setup-flycheck.el
+++ b/settings/setup-flycheck.el
@@ -7,4 +7,6 @@
'(custom-set-variables
'(flycheck-display-errors-function #'flycheck-pos-tip-error-messages)))
+(global-set-key (kbd "<f2>") 'flyspell-auto-correct-previous-word)
+
(provide 'setup-flycheck)