From 083f8933424fc276a1575029a266223ef44f63bf Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 17 Dec 2014 20:14:50 +0000 Subject: Emacs: Add typo mode for nice “quotes” --- tag-emacs/emacs.d/Cask | 1 + tag-emacs/emacs.d/init.el | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'tag-emacs') 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) -- cgit 1.4.1