Hi,

Currently my workflow replacing a visual selection is like this:

1. Go to Visual mode
2. Select text
3. y'ank
4. :%s/<c-r>*/foo/g

One problem with this workflow I have to check if my selected text contains
special characters I have to escape (e.g. /).

Can this workflow be optimized further (less keystrokes)?

Regards, Kai

-- 
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