On 07/16/12 14:27, Christian Brabandt wrote:
> Bram,
>
> On Sa, 07 Jul 2012, Tim Chase wrote:
>> Two parts of me conflict on this: one thinks "wow, that's a cool
>> idea", the other thinks "what twisted sicko thought up that one?!"
>
> Attached patch search_textobj.diff implements a match text-object. This
> was just a fun way to, to see if this is possible.
I haven't given it a whirl yet, but this sounds like something I'd
have found useful on more than one occasion. Thanks!
> BTW: This here looks suspicious:
>
> #define RE_SEARCH 0 /* save/use pat in/from search_pattern */
> #define RE_SUBST 1 /* save/use pat in/from subst_pattern */
> #define RE_BOTH 2 /* save pat in both patterns */
> #define RE_LAST 2 /* use last used pattern if "pat" is NULL */
Could you clarify your suspicion? From just the short excerpt you
provide, this sounds a bit like
:help last-pattern
where I found some frustration[1] and you again chimed in with a
patch (thanks again!)
-tim
[1]
http://vim.1045645.n5.nabble.com/Two-search-patterns-td3353999.html
--
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
No comments:
Post a Comment