From 942845b1584da9a29923e03b4736871f42e88780 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 5 Jun 2020 12:46:38 +0200 Subject: [PATCH] Add shortcut to save all org buffers in agenda --- config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config.org b/config.org index 432aae9..139db15 100644 --- a/config.org +++ b/config.org @@ -25,6 +25,7 @@ - [[#org-capture-setup][Org capture setup]] - [[#main-agenda-view][Main agenda view]] - [[#habits][Habits]] + - [[#save-all-org-buffers-shortcut][Save all org buffers shortcut]] - [[#org-ids][Org IDs]] - [[#roam][Roam]] - [[#roam-directory][Roam Directory]] @@ -335,6 +336,17 @@ Let's enable the =org-habit= module: (add-to-list 'org-modules 'org-habit) #+END_SRC +*** Save all org buffers shortcut + +By default bound to =C-x C-s=, rebind it to =SPC m s= in =org-agenda-mode= : + +#+BEGIN_SRC emacs-lisp +(map! :after org-agenda + :map org-agenda-mode-map + :localleader + "s" #'org-save-all-org-buffers) +#+END_SRC + ** Org IDs Org can link to entries using UUIDs, but we need the module to be loaded for