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.
|
;;; 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:
|
;;; 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
|
||||||
|
@ -388,7 +388,10 @@ With argument, do this that many times."
|
||||||
(realgud:gdb))
|
(realgud:gdb))
|
||||||
:bind
|
:bind
|
||||||
(:map c-mode-base-map
|
(: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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;; Appearance ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Hide toolbar.
|
;; Hide toolbar.
|
||||||
|
@ -462,11 +465,9 @@ With argument, do this that many times."
|
||||||
("<f8>" . neotree-show))
|
("<f8>" . neotree-show))
|
||||||
|
|
||||||
;; Git integration.
|
;; Git integration.
|
||||||
(use-package git-commit
|
(use-package git-commit)
|
||||||
:pin melpa-stable)
|
|
||||||
(unless slow-computer
|
(unless slow-computer
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:pin melpa-stable
|
|
||||||
:config
|
:config
|
||||||
(defun my/magit-kill-buffers (arg)
|
(defun my/magit-kill-buffers (arg)
|
||||||
"Restore window configuration and kill all Magit buffers."
|
"Restore window configuration and kill all Magit buffers."
|
||||||
|
@ -477,8 +478,6 @@ With argument, do this that many times."
|
||||||
:bind
|
:bind
|
||||||
("C-x g" . magit-status)
|
("C-x g" . magit-status)
|
||||||
("C-x M-g" . magit-dispatch)
|
("C-x M-g" . magit-dispatch)
|
||||||
;; :custom
|
|
||||||
;; (magit-bury-buffer-function 'my/magit-kill-buffers)
|
|
||||||
))
|
))
|
||||||
|
|
||||||
;; Interactive substring matching.
|
;; Interactive substring matching.
|
||||||
|
@ -590,9 +589,12 @@ With argument, do this that many times."
|
||||||
(prog-mode . flyspell-prog-mode)
|
(prog-mode . flyspell-prog-mode)
|
||||||
;; Spellcheck LaTeX
|
;; Spellcheck LaTeX
|
||||||
(LaTeX-mode . my/flyspell-german)
|
(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
|
(use-package multiple-cursors
|
||||||
:init
|
:init
|
||||||
(global-unset-key (kbd "M-<down-mouse-1>"))
|
(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
|
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user