feat(emacs): org mode pairs
This commit is contained in:
@@ -112,9 +112,9 @@
|
||||
;; https://abode.karthinks.com/org-latex-preview/#org9054eb6
|
||||
:straight `(org
|
||||
:fork (:host nil
|
||||
:repo "https://git.tecosaur.net/tec/org-mode.git"
|
||||
:branch "dev"
|
||||
:remote "tecosaur")
|
||||
:repo "https://git.tecosaur.net/tec/org-mode.git"
|
||||
:branch "dev"
|
||||
:remote "tecosaur")
|
||||
:files (:defaults "etc")
|
||||
:build t
|
||||
:pre-build
|
||||
@@ -253,7 +253,16 @@ All my (performant) foldings needs are met between this and `org-show-subtree'
|
||||
(unless invisible-p
|
||||
(setq org-cycle-subtree-status 'subtree))
|
||||
(org-cycle-internal-local)
|
||||
t)))))))
|
||||
t))))))
|
||||
|
||||
(with-eval-after-load 'evil-surround
|
||||
(syd-add-hook '(org-mode-hook)
|
||||
(defun syd-org--configure-evil-surround-h ()
|
||||
(setq-local evil-surround-pairs-alist
|
||||
(append '((?* . ("*" . "*"))
|
||||
(?/ . ("/" . "/"))
|
||||
(?= . ("=" . "=")))
|
||||
evil-surround-pairs-alist))))))
|
||||
|
||||
(use-package evil-org
|
||||
:hook ((org-mode . evil-org-mode)
|
||||
|
||||
Reference in New Issue
Block a user