* Silva, Paulo [2007.01.08 11:30]: > I'm trying to do a replace in a selection. > After selecting the area, with v, directional keys, v again (or not - > both give the same result). > > Then I type > :%s/\%V20/21/
Don't know why it doesn't work on your end. Works here. In any case, to do what you want, you can just select an area and, while still in visual mode, type: :s/20/21 This will appear as: :'<,'>s/20/21 in your status line. The '< and '> indicate the beginning and end of the current visual area. HTH, -- JR