diff --git a/README.org b/README.org index e457d99a..8d8c3b08 100644 --- a/README.org +++ b/README.org @@ -1295,6 +1295,7 @@ Part of this config includes some special capture templates for my work as a you "ge" 'org-edit-src-code "gr" 'revert-buffer "gt" 'org-set-tags-command + "gb" 'org-mark-ring-goto "ze" 'org-emphasize "zn" 'org-narrow-to-subtree "zh" (chris/org-cycle-hide-drawers 'subtree) @@ -1618,6 +1619,10 @@ Let's also setup =consult-denote=. (consult-denote-mode +1)) #+end_src +#+begin_src emacs-lisp +(use-package denote-org) +#+end_src + Let's also setup a function that we will use in dired to pull out the text of a docx file and convert it to a denote caputed file. #+begin_src emacs-lisp (defun chris/docx-to-denote-lesson () @@ -4318,6 +4323,7 @@ I'm making a small function in here to open files in the appropriate program usi "M-" 'ffap-other-window "h" 'dired-up-directory "l" 'dired-find-file + "gd" 'chris/docx-to-denote-lesson "C-'" 'embark-act)) #+end_src diff --git a/init.el b/init.el index 3be15dfa..94757c1f 100644 --- a/init.el +++ b/init.el @@ -993,6 +993,7 @@ much faster. The hope is to also make this a faster version of imenu." "ge" 'org-edit-src-code "gr" 'revert-buffer "gt" 'org-set-tags-command + "gb" 'org-mark-ring-goto "ze" 'org-emphasize "zn" 'org-narrow-to-subtree "zh" (chris/org-cycle-hide-drawers 'subtree) @@ -1143,6 +1144,8 @@ much faster. The hope is to also make this a faster version of imenu." consult-denote-grep-command 'consult-ripgrep) (consult-denote-mode +1)) +(use-package denote-org) + (defun chris/docx-to-denote-lesson () "Converts the docx file at point in dired to a denote lesson file in my notes/lessons folder" @@ -3167,6 +3170,7 @@ current buffer's, reload dir-locals." "M-" 'ffap-other-window "h" 'dired-up-directory "l" 'dired-find-file + "gd" 'chris/docx-to-denote-lesson "C-'" 'embark-act)) (defun chris/dired-yank-filename ()