From 2d31620f60518d4ecbc8f717b9a47cde2d928879 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Thu, 12 Oct 2023 20:24:53 -0700 Subject: [PATCH] Change some consult stuff --- init.el | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/init.el b/init.el index 9d72740..3338645 100644 --- a/init.el +++ b/init.el @@ -306,9 +306,6 @@ visual states." ("C-x b" . consult-buffer) ("C-S-s" . consult-ripgrep) ("C-x C-S-f" . consult-fd) - ("C-x C-m" . consult-man) - ("C-h TAB" . consult-info) - ("C-h C-m" . my/consult-emacs-info) ("C-x c k" . consult-keep-lines) ("C-x c f" . consult-focus-lines) ("C-x c r" . consult-recent-file) @@ -317,15 +314,14 @@ visual states." ("C-x c g" . consult-ripgrep) ("M-g i" . consult-imenu) ("M-g I" . consult-imenu-multi) - ("M-g r" . consult-imenu-multi)) + ("M-g r" . consult-imenu-multi) + :map help-map + ("TAB". consult-info) + ("C-m" . consult-man)) :hook (minibuffer-setup . my/consult-setup-minibuffer-completion) :init (defun my/consult-setup-minibuffer-completion () (setq-local completion-in-region-function #'consult-completion-in-region)) - (defun my/consult-emacs-info () - "`consult-info' for emacs specific pages." - (interactive) - (consult-info "emacs" "efaq" "cl" "compat" "elisp")) (evil-declare-motion #'consult-line)) ;; integration for embark and consult