PDA

View Full Version : TextMate: Find Currently Selected?




Mac In School
Jun 16, 2008, 12:18 PM
Question for all y'all that use TextMate. I know there are a lot of ya out there.

In other text editors I've worked in, when you select a block of text and launch the find/replace dialog, it automatically gets populated with said selected text.

Is it possible to have TextMate behave this way?

Thanks.



dtyson
Jun 16, 2008, 07:18 PM
I'm not a TextMate expert (I'd switch to it in a second if they had a more robust find/replace feature - I'm so used to BBEdit's find/replace, which I think is one of the best out there) BUT... What I do know is that, although it's rather awkward:

COMMAND + E will put any text you select into the find/replace box. You still need to type COMMAND + F in order to get the box but it will be populated no less.

I try very hard to like TextMate. I LOVE some of its features but I just can't get over the poorly implemented find/replace - or at least it's poorly implemented in my opinion. Of course, now that I think about it, that procedure is exactly the same in BBEdit. COMMAND + E puts the selected text into the find/replace box, which one can see after then typing COMMAND + F.

Hope that helps.

Mac In School
Jun 17, 2008, 01:26 AM
It does. Thank you.

operator207
Jun 17, 2008, 09:54 AM
In Safari, if you hit cmd + E then hit cmd + F, it will do the same thing.

Same in terminal, I believe this would be more of a system thing than a BBEdit or Textmate thing.

dtyson
Jun 17, 2008, 12:27 PM
In Safari, if you hit cmd + E then hit cmd + F, it will do the same thing.

Same in terminal, I believe this would be more of a system thing than a BBEdit or Textmate thing.

Cool. I didn't realize that it was system-wide. Thanks for the info!

operator207
Jun 17, 2008, 09:02 PM
Cool. I didn't realize that it was system-wide. Thanks for the info!

Neither did I till I saw this thread. I am glad it was brought up, yet another time saver!