runtime(doc): fix :vmap example to avoid unwanted spaces with JJ

Commit: 
https://github.com/vim/vim/commit/1fa3f0c215d37b3cb36f69841d5ab29ca8e0faa5
Author: Damien Lejay <dam...@lejay.be>
Date:   Sat Jun 28 19:19:04 2025 +0200

    runtime(doc): fix :vmap example to avoid unwanted spaces with JJ
    
    fixes: https://github.com/vim/vim/issues/17621
    closes: https://github.com/vim/vim/issues/17623
    
    Signed-off-by: Damien Lejay <dam...@lejay.be>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt
index 3f48915c6..68773dd9d 100644
--- a/runtime/doc/visual.txt
+++ b/runtime/doc/visual.txt
@@ -1,4 +1,4 @@
-*visual.txt*    For Vim version 9.1.  Last change: 2023 Sep 19
+*visual.txt*    For Vim version 9.1.  Last change: 2025 Jun 28
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -392,7 +392,7 @@ want only part of the line to be replaced you will have to 
make a mapping for
 it.  In a future release ":" may work on partial lines.
 
 Here is an example, to replace the selected text with the output of "date": >
-       :vmap _a <Esc>`>a<CR><Esc>`<i<CR><Esc>!!date<CR>kJJ
+       :vmap _a <Esc>`>a<CR><Esc>`<i<CR><Esc>!!date<CR>kgJgJ
 
 (In the <> notation |<>|, when typing it you should type it literally; you
 need to remove the 'B' and '<' flags from 'cpoptions')

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uVZNK-008muS-Pm%40256bit.org.

Raspunde prin e-mail lui