fix(navigation): Improve helm-apropos usage

- Assign `helm-apropos` to `<helm-prefix> d` instead of the default
  `<helm-prefix> a`, as that is now taken up by `helm-do-ag`.
- Use the `helpful` package to describe functions and variables.
This commit is contained in:
2020-05-10 20:32:35 +01:00
parent decc1c58c1
commit c69dec37bc
2 changed files with 12 additions and 1 deletions

View File

@@ -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

7
modules/navigation/siren-helm.el Normal file → Executable file
View File

@@ -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)