commit ef0583196fa27f987f873607e94a9f8654ce3ba5 parent 2a7b268a99d3d879543a0cb0079a23598c98c727 Author: Alex Balgavy <alexander.balgavy@spaceapplications.com> Date: Fri, 1 Aug 2025 15:41:02 +0200 emacs: org-remark Diffstat:
M | emacs/config.org | | | 35 | +++++++++++++++++++++++++++++++++++ |
1 file changed, 35 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -1685,6 +1685,41 @@ Gives ideas for phrases to use in academic writing. (advice-add 'annotate-shutdown :after #'za/annotate-shutdown-extra-hooks)) #+end_src +** org-remark +#+begin_src emacs-lisp + (use-package org-remark + :bind (;; :bind keyword also implicitly defers org-remark itself. + ;; Keybindings before :map is set for global-map. Adjust the keybinds + ;; as you see fit. + :map org-mode-map + ("C-c C-/ m" . org-remark-mark-strong-yellow) + ("C-c C-/ l" . org-remark-mark-line) + :map org-remark-mode-map + ("C-c C-/ o" . org-remark-open) + ("C-c C-/ ]" . org-remark-view-next) + ("C-c C-/ [" . org-remark-view-prev) + ("C-c C-/ r" . org-remark-remove) + ("C-c C-/ d" . org-remark-delete))) + + (use-package org-remark-global-tracking + ;; It is recommended that `org-remark-global-tracking-mode' be + ;; enabled when Emacs initializes. You can set it in + ;; `after-init-hook'. + :hook after-init + :after org-remark + :ensure nil ;; already installed in org-remark + :config + ;; Selectively keep or comment out the following if you want to use + ;; extensions for Info-mode, EWW, and NOV.el (EPUB) respectively. + ;; (use-package org-remark-info :after info :config (org-remark-info-mode +1)) + ;; (use-package org-remark-eww :after eww :config (org-remark-eww-mode +1)) + ;; (use-package org-remark-nov :after nov :config (org-remark-nov-mode +1)) + + ;; Custom pens + (org-remark-create "strong-yellow" + '(:background "yellow") + '(CATEGORY "important"))) +#+end_src ** yasnippet #+begin_src emacs-lisp (use-package yasnippet