]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): correct <PageUp>/<PageDown> behavior in 'wildmenu' (#13336)
authorzeertzjq <zeertzjq@outlook.com>
Sun, 15 Oct 2023 08:02:08 +0000 (16:02 +0800)
committerGitHub <noreply@github.com>
Sun, 15 Oct 2023 08:02:08 +0000 (10:02 +0200)
"but don't insert it" is wrong.
Also move them just below <Up> <Down> as they are more similar.

runtime/doc/index.txt
runtime/doc/options.txt

index e7e99e2ec0239c7b7d7eae63ca53021d13c3c465..a9a8eec25782868dd31034530137d2ade93de6da 100644 (file)
@@ -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
 
index 492c7da1ee7102dd837bddd4c6891fa4ebb1ba2d..6f38bc02bedbe852b3f1e2eb288d6bd81e09117f 100644 (file)
@@ -9333,12 +9333,12 @@ A jump table for the options with a short description can be found at |Q_op|.
        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