You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:messages should be querable via an API.
All messages emitted by Nvim should have metadata allowing Nvim (and plugins etc) to better decide:
which messages genuinely need active user confirmation
which messages can be shown passively (in the cmdline/message area)
which messages need a pager
which messages should be shown for a minimum of X seconds, fading away after some time
Message metadata
result (needs pager -- or actual buffer/floating window)
error (needs message, and be sticky; user cannot silence)
most errors don't need confirm. they can be "sticky" by showing them in the cmdline/message area (which may get overwritten by another message, then show +3 errors in 'showcmd')
confirm (invokes "Press ENTER" or something like it)
info (needs message, but user can decide how it happens)
progress (be sticky and replaceable)
Eliminate "Press ENTER" (for 99% of cases)
With the above, Nvim can do smart things like , instead of showing "Press ENTER", show +3 messages in the 'showcmd' area (e.g.) and the user can check them if they want (via a mapping like g< or g>).
"Press ENTER" should be very rare except for actually dangerous situations.
"Editing a readonly file" is not a dangerous situation.
The text was updated successfully, but these errors were encountered:
Problem
"Press ENTER" prompt is obnoxious. Most messages do not require explicit user confirmation. No, not even error messages.
The prevalence of "Press ENTER" is mostly an accident because of vim's reliance on stale tty state to show a message.
Related:
Expected behavior
:messages
should be querable via an API.All messages emitted by Nvim should have metadata allowing Nvim (and plugins etc) to better decide:
Message metadata
+3 errors
in 'showcmd')Eliminate "Press ENTER" (for 99% of cases)
With the above, Nvim can do smart things like , instead of showing "Press ENTER", show
+3 messages
in the 'showcmd' area (e.g.) and the user can check them if they want (via a mapping likeg<
org>
)."Press ENTER" should be very rare except for actually dangerous situations.
"Editing a readonly file" is not a dangerous situation.
The text was updated successfully, but these errors were encountered: