On 11/14/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> In addition to @/, this adds global variable that indicates
> default search direction (1-forward, 0-backward).
Good idea to make this available.

I think the variable should be writable, so that when you set @/ you can
also set the search direction.

For the name: How about "v:searchforward"?

Ok, I debugged the v:searchforward patch; it works. The variable is
writable. The variable name is v:searchforward in this patch.
The variable name feels OK. Took me time to find correct place
to insert the line that's triggered by variable assignment. It works now.

Yakov

Attachment: search-direction-patch
Description: Binary data

Reply via email to