diff options
author | Alan Pearce | 2014-12-17 20:14:50 +0000 |
---|---|---|
committer | Alan Pearce | 2014-12-17 20:14:50 +0000 |
commit | 083f8933424fc276a1575029a266223ef44f63bf (patch) | |
tree | afb667000d66d38ff2e025a0fe579f22c4cab27f | |
parent | 187efed82e62484867a16119fa76c2988a271fc8 (diff) | |
download | nixfiles-083f8933424fc276a1575029a266223ef44f63bf.tar.lz nixfiles-083f8933424fc276a1575029a266223ef44f63bf.tar.zst nixfiles-083f8933424fc276a1575029a266223ef44f63bf.zip |
Emacs: Add typo mode for nice “quotes”
-rw-r--r-- | tag-emacs/emacs.d/Cask | 1 | ||||
-rw-r--r-- | tag-emacs/emacs.d/init.el | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index 4809547d..22b55806 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 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) |