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 PM10/4/12
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