diff options
author | Thanos Apollo <[email protected]> | 2024-03-03 02:23:48 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-03-03 02:23:48 +0200 |
commit | a1ea2282c0f9880fb0285e316e9a17f967e364aa (patch) | |
tree | f42fad3c22db6775ebbeb17851b38b05de63803a | |
parent | 4ef9ce6064a3c73144956c2acc25164db155c298 (diff) |
Add gnosis-dashboard-edit-deck
-rw-r--r-- | gnosis.el | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1536,6 +1536,12 @@ name and all notes formatted as nested lists" (gnosis-edit-note (string-to-number id)) (message "Editing note with id: %s" id))) +(defun gnosis-dashboard-edit-deck () + "Get deck id from tabulated list and edit it." + (interactive) + (let ((id (tabulated-list-get-id))) + (gnosis-edit-deck (string-to-number id)))) + (defvar-keymap gnosis-dashboard-mode-map :doc "gnosis-dashboard keymap" "q" #'quit-window) |