[TxMt] Re: File status after a replace all

Allan Odgaard mailinglist at textmate.org
Sun Sep 7 10:08:50 UTC 2014


On 6 Sep 2014, at 16:21, Matt Neuburg wrote:

> Sorry to keep switching gears, but TM now does a thing where Command-G 
> takes me into the next document instead of wrapping around in this 
> document. Is there a way I can get it to stop doing that?

It always did this — you can “break” it by pressing ⌘E (i.e. 
place selection on the search clipboard, since the selection is a match, 
so it should go to next match on ⌘G, but it’ll drop the associated 
next document). It won’t work if you did a regexp search.

I can add a (hidden) setting if it’s a general issue (and people would 
prefer to never have it continue to next document).

>> PS This is not directly relevant, but the manual Find dialog has a 
>> Replace & Find button but lacks a Replace button […] in my opinion 
>> Replace (but don't Find) should be the default; Replace & Find should 
>> be a separate option, possibly its alternate when you hold the Option 
>> key or similar.

For a non-regexp search I generally use paste (⌘V) for “replace” 
— though the main reason for lack of a replace button is mainky the 
width of 6 buttons in the dialog making it rather wide. But I could 
probably fold the two replace buttons into one, as you suggest.

Was also thinking about folding all three replace actions into an action 
menu button (like the print dialog’s PDF button), but I think people 
would dislike having to go through a menu when doing multiple 
replacements from the UI.

As for key equivalents (for Replace), if it needs to contain G then we 
only have ⌥⇧G and ⌃⇧⌘G left.


More information about the textmate mailing list