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

Add help key to summary panel to show mappings #379

Merged
merged 2 commits into from
Mar 18, 2024
Merged

Add help key to summary panel to show mappings #379

merged 2 commits into from
Mar 18, 2024

Conversation

Grafcube
Copy link
Contributor

Adds a binding (default ?) to the summary panel that shows the list of key mappings.

Fixes #230

I'm not very familiar with lua and neovim plugin dev so this might not be the best way to implement it. The mappings are just shown as text and it's not very readable but I don't know how to format the text to make it look better.

@rcarriga
Copy link
Collaborator

Thanks for the PR! 😄 Added some tweaks around the formatting but otherwise this is great 😄

@rcarriga rcarriga merged commit 56b720a into nvim-neotest:master Mar 18, 2024
6 checks passed
@Grafcube Grafcube deleted the summary-mappings-help branch March 18, 2024 15:07
@igorlfs
Copy link

igorlfs commented May 1, 2024

Hey! Could this be remmaped to g? ?

Rationale:

  • ? is useful for searching
  • g? is a common alternative (eg, nvim-tree)

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 this pull request may close these issues.

[Feature Request] Press ? for displaying key mappings in summary
3 participants