Merge pull request #1785 from rgrinberg/org-journal-feature
lang/org: add +journal feature (org-journal)
This commit is contained in:
commit
4aff103770
3 changed files with 23 additions and 1 deletions
|
@ -708,7 +708,12 @@
|
|||
:desc "Search org agenda headlines" "h" #'+default/org-notes-headlines
|
||||
:desc "Find file in notes" "n" #'+default/find-in-notes
|
||||
:desc "Browse notes" "N" #'+default/browse-notes
|
||||
:desc "Org store link" "l" #'org-store-link)
|
||||
:desc "Org store link" "l" #'org-store-link
|
||||
|
||||
(:when (featurep! :lang org +journal)
|
||||
(:prefix ("j" . "journal")
|
||||
:desc "New Entry" "j" #'org-journal-new-entry
|
||||
:desc "Search Forever" "s" #'org-journal-search-forever)))
|
||||
|
||||
;;; <leader> o --- open
|
||||
(:prefix-map ("o" . "open")
|
||||
|
|
14
modules/lang/org/contrib/journal.el
Normal file
14
modules/lang/org/contrib/journal.el
Normal file
|
@ -0,0 +1,14 @@
|
|||
;;; lang/org/contrib/journal.el -*- lexical-binding: t; -*-
|
||||
;;;###if (featurep! +journal)
|
||||
|
||||
(use-package! org-journal
|
||||
:defer t
|
||||
:config
|
||||
(map! :map org-journal-search-mode-map
|
||||
:localleader
|
||||
"n" #'org-journal-search-next
|
||||
"p" #'org-journal-search-prev)
|
||||
(map! :map org-journal-mode-map
|
||||
:localleader
|
||||
"n" #'org-journal-open-next-entry
|
||||
"p" #'org-journal-open-previous-entry))
|
|
@ -49,3 +49,6 @@
|
|||
(package! centered-window :recipe (:host github :repo "anler/centered-window-mode"))
|
||||
(package! org-tree-slide)
|
||||
(package! ox-reveal))
|
||||
|
||||
(when (featurep! +journal)
|
||||
(package! org-journal))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue