diff --git a/README.org b/README.org index a6b3669..3fc1bed 100644 --- a/README.org +++ b/README.org @@ -8,6 +8,9 @@ - [[#maintainers][Maintainers]] - [[#plugins][Plugins]] - [[#hacks][Hacks]] + - [[#org-roam-server][Org-roam-server]] + - [[#links-removal-for-blogposts-and-other-exports][Links removal for blogposts and other exports]] + - [[#diff-hl-errors-in-magit][diff-hl errors in magit]] - [[#prerequisites][Prerequisites]] - [[#features][Features]] - [[#pdf-export-from-latex-in-tufte-style][PDF export from latex, in tufte style]] @@ -40,7 +43,17 @@ The README was generated by doom emacs when creating a README.org file with it. + [[https://gitlab.com/oer/org-re-reveal][org-re-reveal]] ** Hacks - Some in file:config.el. Port settings for ~org-roam-server~ are not standard, so need a function. Also some functions for replacing org-roam links with links to their website, for useto export as blog posts. +*** Org-roam-server + Some in file:config.el. Port settings for ~org-roam-server~ are not standard, so need a function. + +*** Links removal for blogposts and other exports + Also some functions for replacing org-roam links with links to their website, useful for exports such as blog posts, where links to internal pages are not visible. + + +*** diff-hl errors in magit +I think diff-hl shows changes at the side of a buffer. For inside magit we now have `magit-delta` so it is not needed there. But for now, use the workaround. +Workaround: enable global mode - ~(global-diff-hl-mode)~ + * Prerequisites Doom Emacs installation diff --git a/config.el b/config.el index 218d33f..57a99be 100644 --- a/config.el +++ b/config.el @@ -207,6 +207,12 @@ ;; configure git-delta (after! magit (magit-delta-mode +1)) +;; HACK: disable diff-hl in magit - it appears to work ok inside files, but not in magit +;; Why? diff-hl-magit-post-refresh appears to be 'null' for some reason +;; When? after stage, unstage or commit an error appears in messages. +(after! (magit) + (remove-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)) + (setq evil-move-cursor-back nil)