[TxMt] emacs query-replace equiv?
Sean Allen
sean at ardishealth.com
Fri Mar 21 15:35:29 UTC 2008
On Mar 21, 2008, at 10:09 AM, Rick DeNatale wrote:
> On 3/21/08, Rick DeNatale <rick.denatale at gmail.com> wrote:
>> On 3/21/08, Sean Allen <sean at ardishealth.com> wrote:
>>> Does textmate have an equivalent to emacs query replace that takes
>>>
>>> term to search for, what to replace it with and then steps through
>>> each match and asks if you want to replace or not
>>> ( moving view obviously to that area so you can view the code around
>>> it )
>>
>>
>> Sure, the Find dialog box (which is actually also the Find/Replace
>> dialog) has buttons to:
>>
>> Find the next (or previous) occurrence of the search test/regex
>> Replace what it found
>> or Replace what it found and find the next occurrence.
>
> I stopped too soon.
>
> You can also do this with keystrokes.
>
> Cmd-E makes the selection the search text
> Cmd-Shift-E makes the selection the replacement text
> Cmd-G searches forward, Cmd-Shift-G searches backward
> Alt-Cmd-F replaces and finds next.
>
What is the the keystroke command to just move to the next result,
ie keystroke that corresponds to the next button...
More information about the textmate
mailing list