branch: externals/denote
commit 95ffbe49cde3abdc4ae85feee9f8e4faf883c348
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Update sample configuration
---
README.org | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index 962e376e31..f055c762ea 100644
--- a/README.org
+++ b/README.org
@@ -1491,7 +1491,7 @@ Everything is in place to set up the package.
(denote--title-prompt)
'("journal")))
-;; Denote does not define any key bindings. This is for the user to
+;; Denote DOES NOT define any key bindings. This is for the user to
;; decide. For example:
(let ((map global-map))
(define-key map (kbd "C-c n j") #'my-denote-journal) ; our custom command
@@ -1510,7 +1510,14 @@ Everything is in place to set up the package.
;; Note that `denote-dired-rename-file' can work from any context, not
;; just Dired bufffers. That is why we bind it here to the
;; `global-map'.
- (define-key map (kbd "C-c n r") #'denote-dired-rename-file))
+ (define-key map (kbd "C-c n r") #'denote-dired-rename-file)
+ (define-key map (kbd "C-c n R")
#'denote-dired-rename-file-and-add-front-matter))
+
+;; Key bindings specifically for Dired.
+(let ((map dired-mode-map))
+ (define-key map (kbd "C-c C-d i") #'denote-link-dired-marked-notes)
+ (define-key map (kbd "C-c C-d r") #'denote-dired-rename-marked-files)
+ (define-key map (kbd "C-c C-d R")
#'denote-dired-rename-marked-files-and-add-front-matters))
(with-eval-after-load 'org-capture
(require 'denote-org-capture)