mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
fef8ff9088
commit
c86371258c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user