summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-20 13:31:04 +0200
committerThanos Apollo <[email protected]>2024-02-20 13:31:04 +0200
commit683338fa26add3f60ae3fac579292aeed68e7f80 (patch)
treef0aabebc6ad5c078142a9c5e6cc11fe265976b03 /gnosis.el
parente0054062ef219634c7944c09db8cd138584e380c (diff)
Add gnosis-dashboard-mode-map
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index b20c5e5..0770976 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1380,6 +1380,11 @@ review."
(gnosis-edit-note (string-to-number id))
(message "Editing note with id: %s" id)))
+(defvar-keymap gnosis-dashboard-mode-map
+ :doc "gnosis-dashboard keymap"
+ "e" #'gnosis-dashboard-edit-note
+ "q" #'quit-window)
+
(defun gnosis-db-init ()
"Create gnosis essential directories & database."
(unless (length= (emacsql gnosis-db [:select name :from sqlite-master :where (= type table)]) 6)