summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el5
2 files changed, 6 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index 4809547..22b5580 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -84,6 +84,7 @@
 (depends-on "smartparens")
 (depends-on "toml-mode")
 (depends-on "tup-mode")
+(depends-on "typo")
 (depends-on "undo-tree")
 (depends-on "use-package")
 (depends-on "visual-regexp")
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 2069325..a407e67 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)