Groups
Groups
Sign in
Groups
Groups
vim_dev
Conversations
About
Send feedback
Help
showing actually replacement when using the 'c' flag in subtitute?
19 views
Skip to first unread message
skeept
unread,
Oct 4, 2012, 5:43:07 PM
10/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
If I am doing a substitution:
:%s/\(a\|b\)\(c\|d\)/\2\1\gc
then the message that shows is something like
would you like to replace by '\2\1' ...?\
It would be nice to actually see what the new text would be (for more complicated substitutions of course).
Is there such an option that would allow me to do this right now?
If not could this be added to the todo list?
Thank you,
Jorge
Reply all
Reply to author
Forward
0 new messages