aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaffaele Mancuso <54762742+raffaem@users.noreply.github.com>2022-10-27 01:43:50 +0200
committerGitHub <noreply@github.com>2022-10-27 07:43:50 +0800
commitc86371258cb10a015cf151b84e04df4480569aff (patch)
treef2697ee01307fb709164b9a19516e8b86dfd82a5
parentfef8ff90887ff16345469d93b64a2a351d9e85ee (diff)
downloadrneovim-c86371258cb10a015cf151b84e04df4480569aff.tar.gz
rneovim-c86371258cb10a015cf151b84e04df4480569aff.tar.bz2
rneovim-c86371258cb10a015cf151b84e04df4480569aff.zip
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.
-rw-r--r--runtime/doc/usr_05.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/usr_05.txt b/runtime/doc/usr_05.txt
index 63714595eb..944eb1fc80 100644
--- a/runtime/doc/usr_05.txt
+++ b/runtime/doc/usr_05.txt
@@ -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>