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

feat: Uniform way of closing popup window #1361

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Fildo7525
Copy link

No description provided.

win:map("n", "<enter>", function(bufnr)
win:unmount()
end, { noremap = true })
local exit_keys = { "<esc>", "<enter>", "q" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is reasonable. The only issue is that now the message on line 92 is out of sync with the mappings.

@pysan3
Copy link
Collaborator

pysan3 commented Feb 24, 2024

Are you sure this is what you want? I don't think the PR title is accurate.

This does not change anything to the help window ? (where keybinds are listed), nor the preview window P (to peek into files).

@pysan3
Copy link
Collaborator

pysan3 commented Mar 9, 2024

@Fildo7525 Any updates?

@Fildo7525
Copy link
Author

I want to make a patch for exporting the keymaps to config. However, I do not have time now.

@pysan3
Copy link
Collaborator

pysan3 commented Mar 9, 2024

Shall we convert this to a draft?

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.

None yet

3 participants