diff options
author | Alan Pearce | 2016-09-20 20:17:46 +0200 |
---|---|---|
committer | Alan Pearce | 2016-09-20 20:17:46 +0200 |
commit | 5954f807e873ca6c20287e726f6353dd5b795eee (patch) | |
tree | 9fd4a3434fa04091a8d0264a88eee2c324af8523 /tag-emacs | |
parent | 0740f4cc679161eb80c519478839ce5333b16ca4 (diff) | |
download | nixfiles-5954f807e873ca6c20287e726f6353dd5b795eee.tar.lz nixfiles-5954f807e873ca6c20287e726f6353dd5b795eee.tar.zst nixfiles-5954f807e873ca6c20287e726f6353dd5b795eee.zip |
Emacs: Replace typo-mode with electric-quote-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 47020f5d..14ec4a13 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -2134,19 +2134,11 @@ from Sublime Text. As always, there’s a mode for that. ** Typography -I like using typographic symbols, but I don’t always remember (how) to -type them. +I like using typographic quotes, but they’re complicated to insert manually. +them. #+BEGIN_SRC emacs-lisp - (use-package typo - :config (progn - (typo-global-mode 1) - (setq-default typo-language "English") - (add-hook 'text-mode-hook #'typo-mode) - (defun typo-mode-turn-off () - (typo-mode -1)) - (add-hook 'yaml-mode-hook #'typo-mode-turn-off) - (add-hook 'jinja2-mode-hook #'typo-mode-turn-off))) + (electric-quote-mode) #+END_SRC ** avy |