On 7/19/06, SHANKAR R-R66203 <[EMAIL PROTECTED]> wrote:
Hi All,
  Assume that I am searching for "pattern1" first and then "pattern2"
next and "pattern3" next.
  If I want the older search patterns, I do
         /<Up>

  Is there any way I can have the history of the search commands.
  I want to use the search history in the functions.

Yes you can. It's histget("search", index). See
:help histget()
:help hist-names
:help :history-indexing

Yakov

Reply via email to