From b36bd0dd05d7a650dde379096161500f06ba3bae Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 29 Aug 2018 22:26:05 -0400 Subject: [PATCH] [emacs] assimilate helpful and its deps, and add bindings --- .gitmodules | 12 ++++++++++++ init.org | 13 +++++++++++++ lib/elisp-refs | 1 + lib/helpful | 1 + lib/loop | 1 + lib/shut-up | 1 + 6 files changed, 29 insertions(+) create mode 160000 lib/elisp-refs create mode 160000 lib/helpful create mode 160000 lib/loop create mode 160000 lib/shut-up diff --git a/.gitmodules b/.gitmodules index fa3abec..6a2f4a9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -55,6 +55,9 @@ [submodule "eldoc-eval"] path = lib/eldoc-eval url = git@github.com:thierryvolpiatto/eldoc-eval.git +[submodule "elisp-refs"] + path = lib/elisp-refs + url = git@github.com:Wilfred/elisp-refs.git [submodule "emacsql"] path = lib/emacsql url = git@github.com:skeeto/emacsql.git @@ -89,6 +92,9 @@ [submodule "helm"] path = lib/helm url = git@github.com:emacs-helm/helm.git +[submodule "helpful"] + path = lib/helpful + url = git@github.com:Wilfred/helpful.git [submodule "hlint-refactor"] path = lib/hlint-refactor url = git@github.com:mpickering/hlint-refactor-mode.git @@ -105,6 +111,9 @@ [submodule "lean-mode"] path = lib/lean-mode url = git@github.com:leanprover/lean-mode.git +[submodule "loop"] + path = lib/loop + url = git@github.com:Wilfred/loop.el.git [submodule "magit"] path = lib/magit url = git@github.com:magit/magit.git @@ -172,6 +181,9 @@ [submodule "shrink-path"] path = lib/shrink-path url = git@gitlab.com:bennya/shrink-path.el.git +[submodule "shut-up"] + path = lib/shut-up + url = git@github.com:cask/shut-up.git [submodule "smex"] # used by counsel-M-x path = lib/smex url = git@github.com:nonsequitur/smex.git diff --git a/init.org b/init.org index febf8aa..56e7752 100644 --- a/init.org +++ b/init.org @@ -1195,6 +1195,19 @@ Emacs package that displays available keybindings in popup shackle-inhibit-window-quit-on-same-windows t)) #+end_src +** [[https://github.com/Wilfred/helpful][helpful]] + +#+begin_src emacs-lisp +(use-package helpful + :bind + (("C-h f" . helpful-callable) + ("C-h v" . helpful-variable) + ("C-h k" . helpful-key) + ("C-c C-d" . helpful-at-point) + ("C-h F" . helpful-function) + ("C-h C" . helpful-command))) +#+end_src + * Email ** [[https://notmuchmail.org][notmuch]] diff --git a/lib/elisp-refs b/lib/elisp-refs new file mode 160000 index 0000000..7faa172 --- /dev/null +++ b/lib/elisp-refs @@ -0,0 +1 @@ +Subproject commit 7faa17293b8fc9e4b5c98a0dbe53bf3c2705a3f2 diff --git a/lib/helpful b/lib/helpful new file mode 160000 index 0000000..6274c10 --- /dev/null +++ b/lib/helpful @@ -0,0 +1 @@ +Subproject commit 6274c100b50c977ed7310d0f99eba26951b51f13 diff --git a/lib/loop b/lib/loop new file mode 160000 index 0000000..e22807f --- /dev/null +++ b/lib/loop @@ -0,0 +1 @@ +Subproject commit e22807f83a0890dc8a904c51ee0742c34efccc6c diff --git a/lib/shut-up b/lib/shut-up new file mode 160000 index 0000000..081d6b0 --- /dev/null +++ b/lib/shut-up @@ -0,0 +1 @@ +Subproject commit 081d6b01e3ba0e60326558e545c4019219e046ce -- 2.20.1