diff options
author | Thanos Apollo <[email protected]> | 2024-09-05 19:08:32 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-09-05 19:08:32 +0300 |
commit | bc626d511c111545387df12219a6412506eaf5a1 (patch) | |
tree | beb01015e08ba64f263ca97438df616d70bc87fd | |
parent | 013fca6bae0c55194604e40ba331e54b9c7b0059 (diff) |
dashboard: Update dashboard-mode keymap.
* dashboard-mode-keymap has the same keybindings as the transient buffer.
-rw-r--r-- | gnosis-dashboard.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnosis-dashboard.el b/gnosis-dashboard.el index 50231e9..23a04f7 100644 --- a/gnosis-dashboard.el +++ b/gnosis-dashboard.el @@ -46,6 +46,7 @@ (declare-function gnosis-center-string "gnosis.el") (declare-function gnosis-get-date-new-notes "gnosis.el") (declare-function gnosis-review-get-due-notes "gnosis.el") +(declare-function gnosis-review "gnosis.el") (declare-function gnosis-algorithm-date "gnosis-algorithm.el") (declare-function gnosis-get-tags--unique "gnosis.el") (declare-function gnosis-get-tag-notes "gnosis.el") @@ -422,7 +423,14 @@ When called with called with a prefix, unsuspend all notes of deck." (defvar-keymap gnosis-dashboard-mode-map :doc "gnosis-dashboard keymap" "q" #'quit-window - "h" #'gnosis-dashboard-menu) + "h" #'gnosis-dashboard-menu + "r" #'gnosis-review + "a" #'gnosis-add-note + "A" #'gnosis-add-deck + "s" #'gnosis-dashboard-suffix-query + "n" #'(lambda () (interactive) (gnosis-dashboard-output-notes (gnosis-collect-note-ids))) + "d" #'gnosis-dashboard-suffix-decks + "t" #'(lambda () (interactive) (gnosis-dashboard-output-tags))) (define-derived-mode gnosis-dashboard-mode tabulated-list-mode "Gnosis Dashboard" "Major mode for displaying Gnosis dashboard." |