Sort out typo-mode

master
trémeur 2 years ago
parent 8aecbcab5f
commit 8c10c1bc7a

@ -313,7 +313,7 @@ This apparently deletes really old entries from the database.
** =git-gutter=
Shows, or at least purports to show, =git diff= in the left margin if the file is being tracked by =git=.
Shows, or at least purports to show, =git diff= in the left margin if the file is being tracked by =git=. The colours dont seem to work properly with the current theme.
#+BEGIN_SRC emacs-lisp
(use-package git-gutter
@ -666,14 +666,15 @@ As previously described, “the big boy”. I know little about most of these se
** =typo=
Automatically use smart quotes in text modes. (This was set up with =org-mode-hook=, but surely should be =text-mode-hook=? Will revert if necessary.)
Automatically use smart quotes. (Cant be set to =text-mode-hook=, unfortunately, as this messes things up in LaTeX; but the only other text-modes I use are =org= and Markdown, I think.)
#+BEGIN_SRC emacs-lisp
(use-package typo
:custom
(typo-global-mode 1)
:init
(add-hook 'text-mode-hook 'typo-mode))
(add-hook 'org-mode-hook 'typo-mode)
(add-hook 'markdown-mode-hook 'typo-mode))
#+END_SRC
** =yasnippet=

Loading…
Cancel
Save