From 1f9de27fe0c59e3df7115ca70862d64b67f83915 Mon Sep 17 00:00:00 2001
From: Vedang Manerikar <ved.manerikar@gmail.com>
Date: Sun, 17 Nov 2024 08:25:45 +0530
Subject: [PATCH] Add denote keybindings for missing links and consult

---
 unravel-emacs.org                | 6 +++---
 unravel-modules/unravel-langs.el | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/unravel-emacs.org b/unravel-emacs.org
index f356dc5..aa6e46f 100644
--- a/unravel-emacs.org
+++ b/unravel-emacs.org
@@ -3542,7 +3542,6 @@ Prot is the developer and maintainer of this package.
       :map text-mode-map
       ("C-c d B" . denote-backlinks)
       ("C-c d b" . denote-find-backlink)
-      ("C-c d f" . denote-find-link)
       ;; Also see `denote-rename-file' further above.
       ("C-c d R" . denote-rename-file-using-front-matter)
       ("C-c d k" . denote-rename-file-keywords)
@@ -3550,6 +3549,7 @@ Prot is the developer and maintainer of this package.
       ("C-c d h" . denote-org-extras-link-to-heading)
       ("C-c d d l" . denote-org-extras-dblock-insert-links)
       ("C-c d d b" . denote-org-extras-dblock-insert-backlinks)
+      ("C-c d d m" . denote-org-extras-dblock-insert-missing-links)
       ;; Key bindings specifically for Dired.
       :map dired-mode-map
       ("C-c C-d C-i" . denote-dired-link-marked-notes)
@@ -3718,8 +3718,8 @@ Prot is the developer of this package.
   (use-package consult-denote
     :ensure t
     :bind
-    (("C-c n f" . consult-denote-find)
-     ("C-c n g" . consult-denote-grep))
+    (("C-c d f" . consult-denote-find)
+     ("C-c d g" . consult-denote-grep))
     :config
     (consult-denote-mode 1))
 #+end_src
diff --git a/unravel-modules/unravel-langs.el b/unravel-modules/unravel-langs.el
index 17538e4..48d8cae 100644
--- a/unravel-modules/unravel-langs.el
+++ b/unravel-modules/unravel-langs.el
@@ -167,7 +167,6 @@
     :map text-mode-map
     ("C-c d B" . denote-backlinks)
     ("C-c d b" . denote-find-backlink)
-    ("C-c d f" . denote-find-link)
     ;; Also see `denote-rename-file' further above.
     ("C-c d R" . denote-rename-file-using-front-matter)
     ("C-c d k" . denote-rename-file-keywords)
@@ -175,6 +174,7 @@
     ("C-c d h" . denote-org-extras-link-to-heading)
     ("C-c d d l" . denote-org-extras-dblock-insert-links)
     ("C-c d d b" . denote-org-extras-dblock-insert-backlinks)
+    ("C-c d d m" . denote-org-extras-dblock-insert-missing-links)
     ;; Key bindings specifically for Dired.
     :map dired-mode-map
     ("C-c C-d C-i" . denote-dired-link-marked-notes)
@@ -318,8 +318,8 @@ Perform the comparison with `string<'."
 (use-package consult-denote
   :ensure t
   :bind
-  (("C-c n f" . consult-denote-find)
-   ("C-c n g" . consult-denote-grep))
+  (("C-c d f" . consult-denote-find)
+   ("C-c d g" . consult-denote-grep))
   :config
   (consult-denote-mode 1))