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

[Feature request] show commands common string part instead of "Prefix Command" #18

Open
stardiviner opened this issue Apr 8, 2014 · 1 comment
Milestone

Comments

@stardiviner
Copy link

I found guide show deeper keybindings with "[p] Prefix Command" instead of "[p] gist-".

I set some custom keybindings like this:

#+BEGIN_SRC emacs-lisp
(define-prefix-command 'my-tools-prefix-map)
(global-set-key (kbd "C-c t") 'my-tools-prefix-map)

(define-key my-tools-prefix-map (kbd "p p") 'gist-region-or-buffer)
(define-key my-tools-prefix-map (kbd "p v") 'gist-region-or-buffer-private)
(define-key my-tools-prefix-map (kbd "p r") 'gist-region)
(define-key my-tools-prefix-map (kbd "p b") 'gist-buffer)
(define-key my-tools-prefix-map (kbd "p l") 'gist-list)
#+END_SRC

Like upper prefix-map. guide-key just show [p] as Prefix Command instead more
details which can show user info of bind sub-commands.
Like upper code example, guide-key should show [p] gist- instead of [p] Prefix Command.

@kai2nenobu kai2nenobu added this to the ver2.0.0 milestone Sep 9, 2014
jcf pushed a commit to jcf/emacs.d that referenced this issue Dec 8, 2014
It's useless because guide-key returns `Prefix command` for everything.

kai2nenobu/guide-key#18
@hkjels
Copy link

hkjels commented Jun 18, 2015

Indeed. I have a bunch of these that are mnemonic, so it's not really a problem, but for completeness, it would be nice with such guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants