Enabled flyspell-mode in git commit messages.
This commit is contained in:
parent
32e6485429
commit
0befbb44fa
20
init.el
20
init.el
|
@ -1,5 +1,5 @@
|
|||
;;; init.el --- tastytea's Emacs init file.
|
||||
;; Time-stamp: <2019-05-15T22:10:32+00:00>
|
||||
;; Time-stamp: <2019-05-17T04:56:10+00:00>
|
||||
|
||||
;;; Commentary:
|
||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||
|
@ -388,7 +388,10 @@ With argument, do this that many times."
|
|||
(realgud:gdb))
|
||||
:bind
|
||||
(:map c-mode-base-map
|
||||
("C-c g" . my/launch-gdb)))
|
||||
("C-c g" . my/launch-gdb)
|
||||
("M-<down>" . nil) ; Used for scrolling.
|
||||
("M-<up>" . nil)
|
||||
))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;; Appearance ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Hide toolbar.
|
||||
|
@ -462,11 +465,9 @@ With argument, do this that many times."
|
|||
("<f8>" . neotree-show))
|
||||
|
||||
;; Git integration.
|
||||
(use-package git-commit
|
||||
:pin melpa-stable)
|
||||
(use-package git-commit)
|
||||
(unless slow-computer
|
||||
(use-package magit
|
||||
:pin melpa-stable
|
||||
:config
|
||||
(defun my/magit-kill-buffers (arg)
|
||||
"Restore window configuration and kill all Magit buffers."
|
||||
|
@ -477,8 +478,6 @@ With argument, do this that many times."
|
|||
:bind
|
||||
("C-x g" . magit-status)
|
||||
("C-x M-g" . magit-dispatch)
|
||||
;; :custom
|
||||
;; (magit-bury-buffer-function 'my/magit-kill-buffers)
|
||||
))
|
||||
|
||||
;; Interactive substring matching.
|
||||
|
@ -590,9 +589,12 @@ With argument, do this that many times."
|
|||
(prog-mode . flyspell-prog-mode)
|
||||
;; Spellcheck LaTeX
|
||||
(LaTeX-mode . my/flyspell-german)
|
||||
(LaTeX-mode . flyspell-mode))))
|
||||
(LaTeX-mode . flyspell-mode)
|
||||
:mode
|
||||
("COMMIT_EDITMSG\\'" . flyspell-mode)
|
||||
))
|
||||
|
||||
;; Multiple cursors.
|
||||
; Multiple cursors.
|
||||
(use-package multiple-cursors
|
||||
:init
|
||||
(global-unset-key (kbd "M-<down-mouse-1>"))
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
127.0.0.1:51313 16448
|
||||
127.0.0.1:51313 7535
|
||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user