Monday, March 22, 2010

Re: Last_pattern_register not updated upon indirect search

On Sat, Mar 7, 2009 at 22:52, Ben Fritz <fritzophrenic@gmail.com> wrote:
>
> On Mar 7, 3:00 pm, Jacky Liu <bluegene8...@gmail.com> wrote:
>
>> Here's the problem: the result is neither highlighted, nor can I use
>> "n" and "N" to find the next match because these two commands also
>> rely on the Last_pattern_register "/ . Interestingly, the history
>> table is updated, but it seems that the only way to access it is to
>> type /<Up>
>> ^M manually.
>>
>
> I believe you could modify the functions in your mappings to also do
> this:
>
> let @/ = '{pattern}'

Hi,

Using @/=... works great, but it does not populate the / history
(/<up>). Is there a way to do so ?

Regards,

Étienne

--
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

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: