all repos — nixfiles @ 5954f807e873ca6c20287e726f6353dd5b795eee

System and user configuration, managed by nix and home-manager

Emacs: Replace typo-mode with electric-quote-mode

Alan Pearce
commit

5954f807e873ca6c20287e726f6353dd5b795eee

parent

0740f4cc679161eb80c519478839ce5333b16ca4

1 file changed, 3 insertions(+), 11 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -2134,19 +2134,11 @@ #+END_SRC
** 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