aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-07-25 22:37:33 +0200
committerGravatar Tom Willemse2016-07-25 22:37:33 +0200
commit64c0b24e3c34c954da6705558c7d4c08df34bb7d (patch)
tree057203a2de1d5e1a734e0f7d22440d52be3c5c40 /emacs
parentc7935980dc2e4bdaab6d12f62bd2702443799638 (diff)
downloadnew-dotfiles-64c0b24e3c34c954da6705558c7d4c08df34bb7d.tar.gz
new-dotfiles-64c0b24e3c34c954da6705558c7d4c08df34bb7d.zip
Add electric-quote-local-mode to git-commit-mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index a06bad9..8c5e351 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -224,6 +224,12 @@ This is currently the data directory under the
:interactive)
(add-to-list 'auto-mode-alist '("\\.mbsyncrc\\'" . mbsync-conf-mode))
+;;;;; Git commit mode:
+
+;; Enable `electric-quote-local-mode' to easily type nice-looking
+;; quotes while writing commits.
+(add-hook 'git-commit-mode-hook 'electric-quote-local-mode)
+
;;;; Applications:
;;;;; Magit: