Enviroment: Ubuntu 20.04.1 LTS; Terminal: Guake Terminal: 3.6.3
Program: VIM - Vi IMproved 8.1 with Patches: 1-2269

The command :'<,'>s/\%V\n/{something}<CR> considers hole line even the 
selection is e.g. just half the line.
Example:
Hi, how are you
I'm fine, thank you

Selection in visual Mode:
Hi, how are you
I'm fine, thank you

using command :'<,'>s/\%V\n/?\r<CR> leads to:
Hi, how are you?
I'm fine, thank you?

Also the right one should be without the last "?"because with \%V only the 
selection in visual mode should be searched:
Hi, how are you?
I'm fine, thank you

Are there any hints.
Best regards
otti

--
--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/6f279b3015c7bc6fd11d262cca2224f5%40api.mail.freenet.de.

Raspunde prin e-mail lui