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

Command to open cheat sheet for a single group #10

Open
alienbogart opened this issue Dec 26, 2018 · 1 comment
Open

Command to open cheat sheet for a single group #10

alienbogart opened this issue Dec 26, 2018 · 1 comment

Comments

@alienbogart
Copy link

alienbogart commented Dec 26, 2018

Is there a way to pass a parameter for cheatsheet-show to only display a certain group?

Also: when showing all groups, it would be nice to arrange them in columns, making better use of horizontal screen space.

@pataquets
Copy link

It would be very useful. In my use case, to display a subset of keys I want to learn when Emacs starts, which would be changing (alas "Tip of the day").
This code inserts the "Evil" group in the current buffer (as tested on my scratch buffer):

(with-current-buffer (insert (cheatsheet--format-group (list :name 'Evil :cheats (cheatsheet--get-group 'Evil)))))

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

No branches or pull requests

2 participants