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?

Thanks,
Kevin

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

Reply via email to