From 0befbb44faf39dc4ec907bb5b13c0cfea15b6727 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 17 May 2019 06:56:14 +0200 Subject: [PATCH] Enabled flyspell-mode in git commit messages. --- init.el | 20 +++++++++++--------- server/server | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/init.el b/init.el index 5a041a7..6c08809 100644 --- a/init.el +++ b/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-" . nil) ; Used for scrolling. + ("M-" . nil) + )) ;;;;;;;;;;;;;;;;;;;; Appearance ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Hide toolbar. @@ -462,11 +465,9 @@ With argument, do this that many times." ("" . 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-")) diff --git a/server/server b/server/server index e45808e..b55706e 100644 --- a/server/server +++ b/server/server @@ -1,2 +1,2 @@ -127.0.0.1:51313 16448 +127.0.0.1:51313 7535 phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh \ No newline at end of file