Deactivate C-; more pleasantly.
This commit is contained in:
parent
c2b6f26c96
commit
ebe041a552
9
init.el
9
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;;; Time-stamp: <2019-03-30 16:18:39 CET>
|
;;; Time-stamp: <2019-03-30 17:50:46 CET>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;; I am using this file with Emacs 26, but most of it will probably work with
|
;;; I am using this file with Emacs 26, but most of it will probably work with
|
||||||
|
@ -544,10 +544,6 @@
|
||||||
(executable-find "ispell"))
|
(executable-find "ispell"))
|
||||||
(unless slow-computer
|
(unless slow-computer
|
||||||
(use-package flyspell
|
(use-package flyspell
|
||||||
:init
|
|
||||||
(defun my/delete-flyspell-keybinding ()
|
|
||||||
"Delete \"C-;\" keybinding because iedit needs it."
|
|
||||||
(define-key flyspell-mode-map (kbd "C-;") nil))
|
|
||||||
:custom
|
:custom
|
||||||
(ispell-dictionary "english")
|
(ispell-dictionary "english")
|
||||||
:config
|
:config
|
||||||
|
@ -563,10 +559,11 @@
|
||||||
(ispell-change-dictionary "german"))
|
(ispell-change-dictionary "german"))
|
||||||
:bind
|
:bind
|
||||||
("<f6>" . my/toggle-flyspell)
|
("<f6>" . my/toggle-flyspell)
|
||||||
|
(:map flyspell-mode-map
|
||||||
|
("C-;" . nil)) ; iedit needs C-;.
|
||||||
:hook
|
:hook
|
||||||
;; Spellcheck comments.
|
;; Spellcheck comments.
|
||||||
(prog-mode . flyspell-prog-mode)
|
(prog-mode . flyspell-prog-mode)
|
||||||
(flyspell-prog-mode . my/delete-flyspell-keybinding)
|
|
||||||
;; Spellcheck LaTeX
|
;; Spellcheck LaTeX
|
||||||
(LaTeX-mode . my/flyspell-german)
|
(LaTeX-mode . my/flyspell-german)
|
||||||
(LaTeX-mode . flyspell-mode))))
|
(LaTeX-mode . flyspell-mode))))
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
127.0.0.1:51313 24608
|
127.0.0.1:51313 6224
|
||||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user