From cf02fe5c2ecccee2a868ac75456302a83e938155 Mon Sep 17 00:00:00 2001 From: J Hacksworth Date: Tue, 3 Dec 2019 11:33:18 -0500 Subject: [PATCH] lang/org: Bind org-agenda-show-and-scroll-up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- modules/lang/org/config.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 0f3a0ba3c..d42ea28f4 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -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")