summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-13 23:47:33 +0000
committernoa@gaiwan.org2024-06-13 23:47:33 +0000
commitaf4d7f029be14d33a62dfce3e69f0bc174177c78 (patch)
treef2e0cd2c5033d86b011e0efeb6ebb01514036da6 /emacs
parent35c0f9b0f0aba33afc6defb7806a1b366716a4f6 (diff)
Add consult imenu bindings
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 16a5885..dd5a245 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -159,6 +159,9 @@ and when JID is not in `jabber-activity-banned'."
 
 (global-set-key [remap yank-pop] #'consult-yank-pop)	;; like normal yank-pop but with live preview
 (global-set-key [remap goto-line] #'consult-goto-line)
+(global-set-key [remap imenu] #'consult-imenu)
+(bind-key [remap imenu] #'consult-org-heading #'org-mode-map)
+(global-set-key [remap info] #'consult-info)
 
 ;;; Embark: sort of like right click, but better