Add shortcut to save all org buffers in agenda
This commit is contained in:
parent
495a1bdc68
commit
942845b158
12
config.org
12
config.org
|
@ -25,6 +25,7 @@
|
||||||
- [[#org-capture-setup][Org capture setup]]
|
- [[#org-capture-setup][Org capture setup]]
|
||||||
- [[#main-agenda-view][Main agenda view]]
|
- [[#main-agenda-view][Main agenda view]]
|
||||||
- [[#habits][Habits]]
|
- [[#habits][Habits]]
|
||||||
|
- [[#save-all-org-buffers-shortcut][Save all org buffers shortcut]]
|
||||||
- [[#org-ids][Org IDs]]
|
- [[#org-ids][Org IDs]]
|
||||||
- [[#roam][Roam]]
|
- [[#roam][Roam]]
|
||||||
- [[#roam-directory][Roam Directory]]
|
- [[#roam-directory][Roam Directory]]
|
||||||
|
@ -335,6 +336,17 @@ Let's enable the =org-habit= module:
|
||||||
(add-to-list 'org-modules 'org-habit)
|
(add-to-list 'org-modules 'org-habit)
|
||||||
#+END_SRC
|
#+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 IDs
|
||||||
|
|
||||||
Org can link to entries using UUIDs, but we need the module to be loaded for
|
Org can link to entries using UUIDs, but we need the module to be loaded for
|
||||||
|
|
Loading…
Reference in a new issue