Emacs: Bind <f6> and C-<f6> to ispell-buffer and ispell-change-dictionary in text-mode

This reflects the compile* bindings in prog-mode.
master
Pierre Neidhardt 2017-06-30 17:24:09 +01:00
parent a4b2053c97
commit 06d3b08c2f
1 changed files with 4 additions and 1 deletions

View File

@ -147,6 +147,9 @@
;;; Default ispell dictionary. If not set, Emacs uses the current locale.
(setq ispell-dictionary "english")
(define-keys text-mode-map
"C-<f6>" 'ispell-change-dictionary
"<f6>" 'ispell-buffer)
;;; Long paragraphs. Useful for quick navigation with backward-paragraph and
;;; forward-paragraph. TODO: Useless?
@ -263,7 +266,7 @@
;;; Replace not-so-useful comment-dwim binding.
(global-set-key "\M-;" 'comment-line)
;;; Eldoc: In case you find it too distracting.
;;; Eldoc: Disable if too distracting.
;; (global-eldoc-mode 0)
;;; Replace `kill-buffer' binding by `kill-this-buffer'.