Sort out typo-mode
This commit is contained in:
parent
8aecbcab5f
commit
8c10c1bc7a
1 changed files with 8 additions and 7 deletions
15
config.org
15
config.org
|
@ -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 don’t 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. (Can’t 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))
|
||||
(use-package typo
|
||||
:custom
|
||||
(typo-global-mode 1)
|
||||
:init
|
||||
(add-hook 'org-mode-hook 'typo-mode)
|
||||
(add-hook 'markdown-mode-hook 'typo-mode))
|
||||
#+END_SRC
|
||||
|
||||
** =yasnippet=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue