From d947e15472e059245ccc22ccd9585967f39a4151 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 5 Apr 2019 04:33:26 -0400 Subject: [PATCH] lang/org: add SPC m . and / keybinds for org-goto And remove imenu remaps, they weren't behaving correctly. --- modules/lang/org/config.el | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 0b4501e51..21d508ab2 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -342,19 +342,16 @@ between the two." "C-c C-i" #'org-toggle-inline-images [remap doom/backward-to-bol-or-indent] #'org-beginning-of-line [remap doom/forward-to-last-non-comment-or-eol] #'org-end-of-line - [remap imenu] - (cond ((featurep! :completion ivy) - #'counsel-org-goto) - ((featurep! :completion helm) - #'helm-org-in-buffer-headings)) - [remap imenu-anywhere] - (cond ((featurep! :completion ivy) - #'counsel-org-goto-all) - ((featurep! :completion helm) - #'helm-org-agenda-files-headings)) :localleader "," #'org-switchb + "." #'org-goto + (:when (featurep! :completion ivy) + "." #'counsel-org-goto + "/" #'counsel-org-goto-all) + (:when (featurep! :completion helm) + "." #'helm-org-in-buffer-headings + "/" #'helm-org-agenda-files-headings) "d" #'org-deadline "f" #'org-footnote-new "t" #'org-todo