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
parent
a4b2053c97
commit
06d3b08c2f
|
@ -147,6 +147,9 @@
|
||||||
|
|
||||||
;;; Default ispell dictionary. If not set, Emacs uses the current locale.
|
;;; Default ispell dictionary. If not set, Emacs uses the current locale.
|
||||||
(setq ispell-dictionary "english")
|
(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
|
;;; Long paragraphs. Useful for quick navigation with backward-paragraph and
|
||||||
;;; forward-paragraph. TODO: Useless?
|
;;; forward-paragraph. TODO: Useless?
|
||||||
|
@ -263,7 +266,7 @@
|
||||||
;;; Replace not-so-useful comment-dwim binding.
|
;;; Replace not-so-useful comment-dwim binding.
|
||||||
(global-set-key "\M-;" 'comment-line)
|
(global-set-key "\M-;" 'comment-line)
|
||||||
|
|
||||||
;;; Eldoc: In case you find it too distracting.
|
;;; Eldoc: Disable if too distracting.
|
||||||
;; (global-eldoc-mode 0)
|
;; (global-eldoc-mode 0)
|
||||||
|
|
||||||
;;; Replace `kill-buffer' binding by `kill-this-buffer'.
|
;;; Replace `kill-buffer' binding by `kill-this-buffer'.
|
||||||
|
|
Loading…
Reference in New Issue