Hi,

Ben Kim wrote:
> 
> If I search for "\<someword\>' using * on a word, and want to use it as 
> the search pattern for replace, like :%s/\<someword\>/otherword/
> 
> Is there a shortcut for that last searched pattern?

just leave the search pattern empty:

  :%s//otherword/


Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to