Skip to content

Is there a way to enable normal mode for input only for certain actions? #1379

Answered by pysan3
pewpewnor asked this question in Q&A
Discussion options

You must be logged in to vote

Update to the latest main branch, and you'll have this feature.

#1372

However, the argument given to this handler is NuiInput object and to my knowledge it is not possible to detect which type of prompt it is.

You do have input.bufnr and input.winid so it is not impossible to fetch eg the title or buffer content (Enter new name for, ...).

TLDR; no, and it is very difficult to implement due to how the code is structured.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pewpewnor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants