From d92cc05770fc07bc3023a66df27e89b0f2992669 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 23 Jun 2018 13:18:50 +0100 Subject: [PATCH] Add helpful package for better help information --- core/siren-modules.el | 3 +++ custom.el | 2 +- modules/help/siren-helpful.el | 20 ++++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 modules/help/siren-helpful.el diff --git a/core/siren-modules.el b/core/siren-modules.el index 15335a6..6c3cc26 100644 --- a/core/siren-modules.el +++ b/core/siren-modules.el @@ -35,6 +35,9 @@ (require 'siren-undo-tree) (require 'siren-which-key) +;; Help +(require 'siren-helpful) + ;; Linting (require 'siren-flycheck) diff --git a/custom.el b/custom.el index dedf05c..ca917aa 100644 --- a/custom.el +++ b/custom.el @@ -7,7 +7,7 @@ '(magit-commit-arguments (quote ("-S"))) '(package-selected-packages (quote - (zoom-window yasnippet-snippets yari yaml-mode which-key web-mode use-package toggle-quotes thrift string-inflection smex smartparens smart-shift smart-mode-line slim-mode seeing-is-believing scss-mode sass-mode rust-playground ruby-tools ruby-refactor ruby-compilation rubocop rspec-mode robe rjsx-mode restart-emacs resize-window realgud-byebug realgud rainbow-mode racer prettier-js plantuml-mode php-mode phi-search nlinum neotree multiple-cursors move-dup markdown-mode magit-gh-pulls lua-mode linum-relative json-mode imenu-anywhere ido-vertical-mode ido-completing-read+ hlinum highlight-symbol highlight-indentation highlight-indent-guides helm-swoop helm-projectile helm-open-github helm-gtags helm-describe-modes helm-descbinds helm-ag go-projectile go-playground go-dlv gitignore-mode github-browse-file gitconfig-mode git-timemachine git-link full-ack flycheck-rust flycheck-package flycheck-gometalinter fill-column-indicator feature-mode expand-region exec-path-from-shell evil eslintd-fix editorconfig dumb-jump doom-themes dockerfile-mode direx dired-subtree diminish diff-hl dash-at-point company-go coffee-mode cargo buffer-move browse-kill-ring anzu airline-themes ace-window)))) + (zoom-window yasnippet-snippets yari yaml-mode which-key web-mode use-package toggle-quotes thrift string-inflection smex smartparens smart-shift smart-mode-line slim-mode seeing-is-believing scss-mode sass-mode rust-playground ruby-tools ruby-refactor ruby-compilation rubocop rspec-mode robe rjsx-mode restart-emacs resize-window realgud-byebug realgud rainbow-mode racer prettier-js plantuml-mode php-mode phi-search nlinum neotree multiple-cursors move-dup markdown-mode magit-gh-pulls lua-mode linum-relative json-mode imenu-anywhere ido-vertical-mode ido-completing-read+ hlinum highlight-symbol highlight-indentation highlight-indent-guides helpful helm-swoop helm-projectile helm-open-github helm-gtags helm-describe-modes helm-descbinds helm-ag go-projectile go-playground go-dlv gitignore-mode github-browse-file gitconfig-mode git-timemachine git-link full-ack flycheck-rust flycheck-package flycheck-gometalinter fill-column-indicator feature-mode expand-region exec-path-from-shell evil eslintd-fix editorconfig dumb-jump doom-themes dockerfile-mode direx dired-subtree diminish diff-hl dash-at-point company-go coffee-mode cargo buffer-move browse-kill-ring anzu airline-themes ace-window)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/modules/help/siren-helpful.el b/modules/help/siren-helpful.el new file mode 100644 index 0000000..766802b --- /dev/null +++ b/modules/help/siren-helpful.el @@ -0,0 +1,20 @@ +;;; siren-helpful.el --- jimeh's Emacs Siren: helpful configuration. + +;;; Commentary: + +;; Basic configuration for helpful. + +;;; Code: + +(use-package helpful + :bind + ("C-h k" . helpful-key) + ("C-h f" . helpful-callable) + ("C-h v" . helpful-variable) + ("C-h C" . helpful-command) + ("C-h F" . helpful-function) + (:map emacs-lisp-mode-map + ("C-c C-d" . helpful-at-point))) + +(provide 'siren-helpful) +;;; siren-helpful.el ends here