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

FR: Command to list current keybindings #916

Closed
ilyagr opened this issue Aug 24, 2022 · 2 comments
Closed

FR: Command to list current keybindings #916

ilyagr opened this issue Aug 24, 2022 · 2 comments

Comments

@ilyagr
Copy link
Collaborator

ilyagr commented Aug 24, 2022

I would like there to be a :keys command that lists all the current keybindings.

At a glance, it looks like this wouldn't be too hard for me to do (if/once I get around to it). I would probably output the result of listBinds to a temporary file and then pass it to $PAGER. Does that sound good to you?

P.S. This would be further improved by #536, but I don't think I'm up to solving that.

@ilyagr
Copy link
Collaborator Author

ilyagr commented Aug 27, 2022

I upgraded this to a pull request (#918). I find myself using :keys quite a bit.

@ilyagr
Copy link
Collaborator Author

ilyagr commented Dec 11, 2022

There doesn't seem to be a consensus that this is a good feature for lf core. See the linked PR for a discussion and some suggested workarounds.

Feel free to use the code from the PR to patch your version of lf; it works fine, and compiling a Go program is a breeze. I might create a "Patches" section in the wiki with this feature if I figure out an easy way of distributing updates to a closed PRs to users.

@ilyagr ilyagr closed this as completed Dec 11, 2022
@ilyagr ilyagr closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2022
jackielii added a commit to jackielii/lf that referenced this issue Mar 10, 2023
gokcehan pushed a commit that referenced this issue Mar 12, 2023
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

Successfully merging a pull request may close this issue.

1 participant