lang/org: Bind org-agenda-show-and-scroll-up

Default Org binds 'SPC' to `org-agenda-show-and-scroll-up`, which
displays the original location of the Agenda item in another window
without moving focus from the Agenda window.

This is useful to preview items while staying in the Agenda window.
Since we can't use 'SPC', bind it to ‘C-SPC’, Doom's canonical "preview"
key for helm and ivy.

See https://orgmode.org/manual/Agenda-commands.html
This commit is contained in:
J Hacksworth 2019-12-03 11:33:18 -05:00
parent 1655524836
commit cf02fe5c2e

View file

@ -691,6 +691,7 @@ between the two."
(map! :after org-agenda
:map org-agenda-mode-map
:m "C-SPC" #'org-agenda-show-and-scroll-up
:localleader
"d" #'org-agenda-deadline
(:prefix ("c" . "clock")