docs(usr_05): update sentence about Nvim default behavior of Q (#20817)

While the user guide correctly describes the mapping in Vim, the default
behaviour in NeoVim seems to be the one described here.
This commit is contained in:
Raffaele Mancuso 2022-10-27 01:43:50 +02:00 committed by GitHub
parent fef8ff9088
commit c86371258c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,8 +127,8 @@ Display matches for a search pattern while you type.
This defines a key mapping. More about that in the next section. This
defines the "Q" command to do formatting with the "gq" operator. This is how
it worked before Vim 5.0. Otherwise the "Q" command starts Ex mode, but you
will not need it.
it worked before Vim 5.0. Otherwise the "Q" command repeats the last recorded
register.
>
vnoremap _g y:exe "grep /" .. escape(@", '\\/') .. "/ *.c *.h"<CR>