adding denote-org
This commit is contained in:
parent
9b73c8a121
commit
00dbca183e
2 changed files with 10 additions and 0 deletions
|
|
@ -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-<return>" 'ffap-other-window
|
||||
"h" 'dired-up-directory
|
||||
"l" 'dired-find-file
|
||||
"gd" 'chris/docx-to-denote-lesson
|
||||
"C-'" 'embark-act))
|
||||
#+end_src
|
||||
|
||||
|
|
|
|||
4
init.el
4
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-<return>" '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 ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue