> :normal /pattern^M where you get ^M by pressing <Ctrl-V> + Enter.
> Or use exe:
> :exe "normal /pattern\<CR>"
>
> Or may be even feedkeys:
> :call feedkeys("/pattern\n")
>Christian, First of all, thanks for the suggestions. feedkeys in fact does work, but exe "normal /pattern" with or without <CR> does not. Strange. I'm using 7.2 vim.. Thanks again, Ed --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
