On Fri, May 29, 2009 at 11:27 AM, Kevin Dillman <[email protected]> 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? >
exe ":vimgrep /" . x . "/j file_name|copen" --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
