Hi,

sinbad wrote:
> 
> On Aug 10, 2:01 pm, Jürgen Krämer <[email protected]> wrote:
>>
>> sinbad wrote:
>>> why doesn't the "/ register filled with the current search.
>>> with the following mapping. should i do something special
>>
>>> nmap \jj :call Jj()
>>
>>> fun! Jj()
>>> let someflag=1
>>> silent normal! *
>>> endfun
>>
>>   :help function-search-undo
> 
> :help function-search-undo is returning an error. i am running vim
> 7.0.

in Vim 7.3 it returns

|                                       *function-search-undo*
|               The last used search pattern and the redo command "."
|               will not be changed by the function.  This also
|               implies that the effect of |:nohlsearch| is undone
|               when the function returns.

You might get something similar with

  :help :function
  /search

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to