[TextMate] some suggestions for search & replace
Allan Odgaard
allan at macromates.com
Mon Oct 18 10:07:35 UTC 2004
On 18. Oct 2004, at 5:53, C J Silverio wrote:
> - Keyboard accelerator for "replace and find next". For the love
> of god, Montresor!
What is the “standard” key for this? If there is none, I'll probably
use cmd-option-f.
> - "Find the selection" action, with keyboard accelerator. (Yes, it can
> be macroed, but why should I have to macro such an important action?)
Seeing how several has expected to find this on cmd-h (which is Hide
according to AHIG), it really should be done as a macro!
It's really only grouping cmd-e and cmd-g into one key.
> - Scroll the text to keep the cursor in the "hot zone" when possible.
> E.g., if you have to scroll to make the result of a search visible,
> scroll enough to put the new selection in the middle of the screen.
> Repeated find-nexts though large files always seem to end up for me
> with the selection on the bottom-most line, with no context visible.
> Yuck!
I choose bottom deliberately, seeing how it's easier to locate, and it
always work (i.e. when finding something in the last 20-40 lines, it
wouldn't be able to center it.
But I may change it -- visually highlighting the current line may help
in that decision.
> You're probably sick of hearing this, but please reconsider adding
> an app preferences dialog. It will do two things for you:
Yes, check the archive if you want a reply.
> [...] Soft line wrap in particular is something that I definitely want
> on some documents and definitely don't want on others. Worth thinking
> about, anyway.
But generally wouldn't it be better just to have the soft wrap setting
stick to the file extension instead of every individual document?
Kind regards Allan
More information about the textmate
mailing list