I've got the following visual maps which I use to do visual base searches:
vmap F y?<C-R>"<CR> vmap f y/<C-R>"<CR> They work great, select some characters in visual mode and then enter 'f' (or 'F'). The one caveat is if there are characters that have special meaning in searched such as the '[' ']' pair in the visual selection, then the search fails. Does anyone have a macro that will allow visual selection based searches that account for such special characters being in the selection? Thanks. RME -- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.