summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
diff options
context:
space:
mode:
authorAlan Pearce2014-12-17 20:14:50 +0000
committerAlan Pearce2014-12-17 20:14:50 +0000
commit083f8933424fc276a1575029a266223ef44f63bf (patch)
treeafb667000d66d38ff2e025a0fe579f22c4cab27f /tag-emacs/emacs.d/init.el
parent187efed82e62484867a16119fa76c2988a271fc8 (diff)
downloadnixfiles-083f8933424fc276a1575029a266223ef44f63bf.tar.lz
nixfiles-083f8933424fc276a1575029a266223ef44f63bf.tar.zst
nixfiles-083f8933424fc276a1575029a266223ef44f63bf.zip
Emacs: Add typo mode for nice “quotes”
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r--tag-emacs/emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 2069325b..a407e67c 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1018,6 +1018,11 @@ mouse-1: Display Line and Column Mode Menu"))))))
   :bind (("M-z" . zap-up-to-char)
          ("M-Z" . zap-to-char)))
 
+(req-package typo
+  :init (progn
+          (typo-global-mode t)
+          (add-hook 'text-mode-hook 'typo-mode)))
+
 (req-package ap-functions
   :commands (ap/remove-extra-cr)
   :bind (("C-x r M-w" . copy-rectangle)