On Wed, 2 Feb 2011, Colin Beighley wrote:

Hello,
I want to do something like this

word => ,

becomes

word => word,

with search and replace. Any suggestions?

s/\(word\) => ,/\1 => \1,/

--
Best,
Ben

--
You received this message from the "vim_use" 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

Reply via email to