From 5eee576af56acb0268aadd02553f5c9654c47b0f Mon Sep 17 00:00:00 2001 From: chens Date: Fri, 15 Nov 2024 11:35:20 +0800 Subject: [PATCH] add org-journal and submodule lsp-bridge --- .gitmodules | 3 +++ lisp/init-org.el | 10 ++++++++++ site-lisp/lsp-bridge | 1 + 3 files changed, 14 insertions(+) create mode 160000 site-lisp/lsp-bridge diff --git a/.gitmodules b/.gitmodules index 3b677d1475..d5a5b2562f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,3 +28,6 @@ [submodule "site-lisp/org-zettel-ref-mode"] path = site-lisp/org-zettel-ref-mode url = git@github.com:yibie/org-zettel-ref-mode.git +[submodule "site-lisp/lsp-bridge"] + path = site-lisp/lsp-bridge + url = git@github.com:manateelazycat/lsp-bridge.git diff --git a/lisp/init-org.el b/lisp/init-org.el index 2e11635a52..decb60ced1 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -985,6 +985,16 @@ typical word processor." (use-package org-ref :ensure t) + +(use-package org-journal + :defer t + :init + ;; Change default prefix key; needs to be set before loading org-journal + (setq org-journal-prefix-key "C-c j") + :config + (setq org-journal-dir "~/org-mode/roam/journal/" + org-journal-date-format "%A, %d %B %Y")) + (use-package org-roam-bibtex :after org-roam :config diff --git a/site-lisp/lsp-bridge b/site-lisp/lsp-bridge new file mode 160000 index 0000000000..41530f4dfa --- /dev/null +++ b/site-lisp/lsp-bridge @@ -0,0 +1 @@ +Subproject commit 41530f4dfafa63ebb6b510cdcf2bef0e5757b56a