Skip to content

feat: Uniform way of closing popup window#1361

Draft
Fildo7525 wants to merge 1 commit into
nvim-neo-tree:mainfrom
Fildo7525:main
Draft

feat: Uniform way of closing popup window#1361
Fildo7525 wants to merge 1 commit into
nvim-neo-tree:mainfrom
Fildo7525:main

Conversation

@Fildo7525
Copy link
Copy Markdown

No description provided.

win:map("n", "<enter>", function(bufnr)
win:unmount()
end, { noremap = true })
local exit_keys = { "<esc>", "<enter>", "q" }
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator

pysan3 commented Mar 9, 2024

@Fildo7525 Any updates?

@Fildo7525
Copy link
Copy Markdown
Author

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

@pysan3
Copy link
Copy Markdown
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.

3 participants