Friday, January 8, 2010

Re: Is there a way to predefine search patterns?

On 2010-01-08, Gary Johnson wrote:

> 5) You could use a command-line abbreviation, e.g.,
>
> cabbrev ip \([0-9]\{1,3}\.\)\{3}[0-9]\{1,3}

I should explain that further. With that, you can execute

/ip

and the RHS will become the search pattern.

Regards,
Gary

No comments: