<<< Date Index >>>     <<< Thread Index >>>

Re: tag pattern



On Thu, 02 Oct 2008, Rejo Zenger wrote:

> ++ 02/10/08 21:45 +0800 - bill lam:
> >I often need to tag the same pattern. Instead of typing each time, how
> >can I save the following and bind it shortcut key?
> >tag     pattern
> > T    \[.*patch.*\]  <return> 
> 
> You would need to use a "macro". Untested:
> 
>   macro  pager,index  \ca  "T\[.*patch.*\]<enter>"   # tag using pattern

Thank you Rejo! I tried that \ inside quotes should be escaped too.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3