Home Explore Blog CI



neovim

11th chunk of `runtime/doc/message.txt`
78c84d8e2eaf3f79e35edc8dbd780fe463cdcc09016fdc160000000100000bfe

   key being used otherwise.
-> Press ':' or any other Normal mode command character to start that command.
   Note that after an external command some special keys, such as the cursor
   keys, may not work normally, because the terminal is still set to a state
   for executing the external command.
-> Press 'k', <Up>, 'u', 'b' or 'g' to scroll back in the messages.  This
   works the same way as at the |more-prompt|.  Only works when 'more' is on.
-> Pressing 'j', 'f', 'd' or <Down> is ignored when messages scrolled off the
   top of the screen and 'more' is on, to avoid that typing one 'j' or 'f' too
   many causes the messages to disappear.
-> Press <C-Y> to copy (yank) a modeless selection to the clipboard register.
-> Use a menu.  The characters defined for Cmdline-mode are used.
-> When 'mouse' contains the 'r' flag, clicking the left mouse button works
   like pressing <Space>.  This makes it impossible to select text though.
-> For the GUI clicking the left mouse button in the last line works like
   pressing <Space>.

If you accidentally hit <Enter> or <Space> and you want to see the displayed
text then use |g<|.  This only works when 'more' is set.

To reduce the number of hit-enter prompts:
- Set 'messagesopt'.
- Set 'cmdheight' to 2 or higher.
- Add flags to 'shortmess'.
- Reset 'showcmd' and/or 'ruler'.
- Make sure `:echo` text is within |v:echospace| screen cells.

If your script causes the hit-enter prompt and you don't know why, you may
find the |v:scrollstart| variable useful.

Also see 'mouse'.  The hit-enter message is highlighted with the |hl-Question|
group.


						*more-prompt* *pager*  >
  -- More --
  -- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit

This message is given when the screen is filled with messages.  It is only
given when the 'more' option is on.  It is highlighted with the |hl-MoreMsg|
group.

Type					effect ~
     <CR> or <NL> or j or <Down>	one more line
     d					down a page (half a screen)
     <Space> or f or <PageDown>		down a screen
     G					down all the way, until the hit-enter
					prompt

     <BS> or k or <Up>			one line back
     u					up a page (half a screen)
     b or <PageUp>			back a screen
     g					back to the start

     q, <Esc> or CTRL-C			stop the listing
     :					stop the listing and enter a
					     command-line
    <C-Y>				yank (copy) a modeless selection to
					the clipboard ("* and "+ registers)
    {menu-entry}			what the menu is defined to in
					Cmdline-mode.
    <LeftMouse>				next page*

Any other key causes the meaning of the keys to be displayed.

* Clicking the left mouse button only works:
    - For the GUI: in the last line of the screen.
    - When 'r' is included in 'mouse' (but then selecting text won't work).


Note: The typed key is directly obtained from the terminal, it is not mapped
and typeahead is ignored.

The |g<| command can be used to see the last page of previous command output.
This is especially useful if you accidentally typed <Space> at the hit-enter
prompt.

 vim:tw=78:ts=8:noet:ft=help:norl:

Title: Vim Messages: "Press ENTER" and "More" Prompts Explained
Summary
This section continues explaining the "Press ENTER" prompt, detailing how to view the displayed text if accidentally skipped, and how to reduce the frequency of these prompts through various settings. It also covers the "-- More --" prompt that appears when the screen is filled with messages, outlining the keys to navigate through the messages, including scrolling up and down, quitting the listing, and copying to the clipboard. It also describes how mouse clicks interact with the prompt.