Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

counsel-describe-prefix-bindings ? #332

Closed
ghost opened this issue Dec 27, 2015 · 4 comments
Closed

counsel-describe-prefix-bindings ? #332

ghost opened this issue Dec 27, 2015 · 4 comments

Comments

@ghost
Copy link

@ghost ghost commented Dec 27, 2015

I found this feature for ido: ido-describe-prefix-bindings.el.

Here is what it gives with ido-grid-mode.el (which may worth having a look by the way) after pressing C-x C-h:

This does not work with ido (not be comptible with emacs 24.5 or 25.1.50?), but I think this feature would be great for ivy.

Maybe this could also fit to hydra: complete next possible commands (those bound to keys in the hydra) with a completion system such as ivy.

Another possibility for hydra would be creating a hydra after any key (C-x) with C-h, with next possible commands as either commands to execute (C-x, C-u...) or hydras to call (r, n...).
r, n...).

Maybe I can talk about it to the author of which-key as well.

Again, I'm sharing my thoughts, and not making a request.

@ghost ghost changed the title counsel-describe-prefix-bindings counsel-describe-prefix-bindings ? Dec 27, 2015
@ghost
Copy link
Author

@ghost ghost commented Jan 12, 2016

I'm closing the issue, since @larkery made its version using completing-read (instead of ido-...), which uses to ivy when ivy-mode is activated.

So now I have got this while typing C-x C-h

2016-01-12-131524_1366x768_scrot

[EDIT] Typo in larkery name.

@ghost ghost closed this Jan 12, 2016
abo-abo added a commit that referenced this issue Jan 12, 2016
* ivy.el (ivy-read-action): Update prompt for "C-M-a".

* counsel.el (counsel--find-symbol): Use ivy-window.
(counsel--descbinds-cands): New defun.
(counsel-descbinds-history): New defvar.
(counsel-descbinds-action-describe): New defun.
(counsel-descbinds-action-find): New defun.
(counsel-descbinds-action-info): New defun.
(counsel-descbinds): New command. Very similar to `counsel-M-x', except
that only bound commands are displayed.

Fixes #332
@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Jan 12, 2016

Have a look at counsel-descbinds.

@ghost
Copy link
Author

@ghost ghost commented Jan 12, 2016

Oh it is great, thank you! I will bind it to some key.

@dgutov
Copy link

@dgutov dgutov commented Jan 13, 2016

🎆

Helm goes bye-bye from my Emacs.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.