diff --git a/custom/org-format.el b/custom/org-format.el index 764c99a..52885ee 100644 --- a/custom/org-format.el +++ b/custom/org-format.el @@ -7,11 +7,17 @@ (while (re-search-forward "'" nil t) (replace-match "’")) (goto-char (region-beginning)) - (while (re-search-forward "\\R\"" nil t) - (replace-match "\\R“")) + (while (re-search-forward "\n\"" nil t) + (replace-match "\n“")) (goto-char (region-beginning)) (while (re-search-forward " \"" nil t) (replace-match " “")) (goto-char (region-beginning)) (while (re-search-forward "\"" nil t) - (replace-match "”"))) + (replace-match "”")) + (goto-char (region-beginning)) + (while (re-search-forward "“/" nil t) + (replace-match "/“")) + (goto-char (region-beginning)) + (while (re-search-forward "/”" nil t) + (replace-match "”/"))) diff --git a/init.el b/init.el index 18de9c9..de71cf1 100644 --- a/init.el +++ b/init.el @@ -244,6 +244,12 @@ (setq org-noter-property-doc-file "INTERLEAVE_PDF" org-noter-property-note-location "INTERLEAVE_PAGE_NOTE")) +(use-package org-sidebar + :bind ("C-c C-x s" . org-sidebar-tree)) + +(use-package org-wc + :bind ("C-c C-x w" . org-wc-display)) + (unless (iswin) (use-package pdf-tools ;; view pdfs :config