diff options
author | noa@gaiwan.org | 2024-06-13 23:47:33 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-13 23:47:33 +0000 |
commit | af4d7f029be14d33a62dfce3e69f0bc174177c78 (patch) | |
tree | f2e0cd2c5033d86b011e0efeb6ebb01514036da6 /emacs/init.el | |
parent | 35c0f9b0f0aba33afc6defb7806a1b366716a4f6 (diff) |
Add consult imenu bindings
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 3 |
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 |