[oni-org] Enable ‘electric-pair-local-mode’
With ‘electric-pair-local-mode’ and my inhibit function together I get a pretty reasonable way of typing fancy quotes and regular quotes in words like “don't”.
This commit is contained in:
parent
7432982e6a
commit
6c611b5007
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2021.1017.163745
|
||||
;; Version: 2021.1130.152454
|
||||
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-contrib org-bullets org-edna diminish all-the-icons olivetti mixed-pitch)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
|
@ -479,6 +479,7 @@ also move point to the start of the heading."
|
|||
(add-hook 'org-mode-hook #'oni-org-set-tag-faces)
|
||||
(add-hook 'org-mode-hook #'oni-org-set-todo-keyword-faces)
|
||||
(add-hook 'org-mode-hook #'oni-org-set-yasnippet-condition)
|
||||
(add-hook 'org-mode-hook 'electric-pair-local-mode)
|
||||
(add-hook 'org-mode-hook 'electric-quote-local-mode)
|
||||
(add-hook 'org-mode-hook 'flyspell-mode)
|
||||
(add-hook 'org-mode-hook 'mixed-pitch-mode)
|
||||
|
|
Loading…
Reference in a new issue