neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit c86371258cb10a015cf151b84e04df4480569aff
parent fef8ff90887ff16345469d93b64a2a351d9e85ee
Author: Raffaele Mancuso <54762742+raffaem@users.noreply.github.com>
Date:   Thu, 27 Oct 2022 01:43:50 +0200

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.
Diffstat:
Mruntime/doc/usr_05.txt | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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>