On Fri, May 29, 2009 at 11:36 AM, Charles Campbell <
[email protected]> wrote:
>
> Kevin Dillman wrote:
> > I would like to ask for input using the following:
> > :let x = input("enter criteria to search: ")
> >
> > Next I would like to search for x using :vimgrep.
> >
> > I have been using the following format for :vimgrep
> > :vimgrep /data/j file_name|copen
> >
> > How can I use the variable "x" within the above :vimgrep Ex command?
> :he exe
>
> Regards,
> Chip Campbell
>
>
> > Thanks to you both! Use exe worked perfectly!
>
Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---