From c69dec37bc183e26e7d43be6b3cd0ac25bb533e4 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 10 May 2020 20:32:35 +0100 Subject: [PATCH] fix(navigation): Improve helm-apropos usage - Assign `helm-apropos` to ` d` instead of the default ` a`, as that is now taken up by `helm-do-ag`. - Use the `helpful` package to describe functions and variables. --- modules/help/siren-helpful.el | 6 +++++- modules/navigation/siren-helm.el | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) mode change 100644 => 100755 modules/navigation/siren-helm.el diff --git a/modules/help/siren-helpful.el b/modules/help/siren-helpful.el index 766802b..80a57e2 100644 --- a/modules/help/siren-helpful.el +++ b/modules/help/siren-helpful.el @@ -14,7 +14,11 @@ ("C-h C" . helpful-command) ("C-h F" . helpful-function) (:map emacs-lisp-mode-map - ("C-c C-d" . helpful-at-point))) + ("C-c C-d" . helpful-at-point)) + + :custom + (helm-describe-function-function 'helpful-function) + (helm-describe-variable-function 'helpful-variable)) (provide 'siren-helpful) ;;; siren-helpful.el ends here diff --git a/modules/navigation/siren-helm.el b/modules/navigation/siren-helm.el old mode 100644 new mode 100755 index 9eac297..621527b --- a/modules/navigation/siren-helm.el +++ b/modules/navigation/siren-helm.el @@ -117,6 +117,13 @@ (helm-M-x-always-save-history t) (helm-M-x-fuzzy-match t)) +(use-package helm-elisp + :straight (helm) + :after (helm-config) + :bind + (:map helm-command-map + ("d" . helm-apropos))) + (use-package helm-files :straight (helm) :after (helm-config)