changeset 33574:a559d0a21b25

runtime(doc): correct <PageUp>/<PageDown> behavior in 'wildmenu' (#13336) Commit: https://github.com/vim/vim/commit/3c81f47a0584e7915217397fed0488091a62df82 Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Oct 15 16:02:08 2023 +0800 runtime(doc): correct <PageUp>/<PageDown> behavior in 'wildmenu' (https://github.com/vim/vim/issues/13336) "but don't insert it" is wrong. Also move them just below <Up> <Down> as they are more similar.
author Christian Brabandt <cb@256bit.org>
date Sun, 15 Oct 2023 10:15:05 +0200
parents dabf31f29b4f
children 8fc442c731ca
files runtime/doc/index.txt runtime/doc/options.txt
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1117,7 +1117,7 @@ commands in wildmenu mode (see 'wildmenu
 		<Up>		move up to parent / select the previous match
 		<Down>		move down to submenu / select the next match
 		<Left>		select the previous match / move up to parent
-		<Down>		select the next match / move down to submenu
+		<Right>		select the next match / move down to submenu
 		<CR>		move into submenu when doing menu completion
 		other		stop completion and insert the typed character
 
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -9333,12 +9333,12 @@ A jump table for the options with a shor
 	When using the popup menu for command line completion, the following
 	keys have special meanings:
 	<Up> <Down>	- select previous/next match (like CTRL-P/CTRL-N)
+	<PageUp>	- select a match several entries back
+	<PageDown>	- select a match several entries further
 	<Left>		- in filename/menu name completion: move up into
 			  parent directory or parent menu.
 	<Right>		- in filename/menu name completion: move into a
 			  subdirectory or submenu.
-	<PageUp>	- Select a match several entries back, but don't insert it.
-	<PageDown>	- Select a match several entries further, but don't insert it.
 	CTRL-E		- end completion, go back to what was there before
 			  selecting a match.
 	CTRL-Y		- accept the currently selected match and stop