I often find myself wanting to achieve the "find all" functionality in Textmate without needing to use the mouse to point to this button. Of course when you do a ⇧⌘F the "find all" button is highlighted by default and you can simply type in your search phrase and hit enter. This is exactly what I would like from ⌘F (aka, scoped to a single document versus the project). Even if the "find all" button isn't the default it would be nice if there was some keyboard hotkey that allowed pressing this button without the hassle of having to move your mouse across and click the button.
Is there a way to do this? If not, could this be considered as a useful feature for a future release?
Ken
Hi!
I've just done a few tests, and "Next" in this case means "Find the next result", so I think the functionality is actually there... Try Cmd+F, enter a search term, and then hit enter.
David.
On 21 June 2013 18:14, Ken Snyder ken+textmate@ken.net wrote:
I often find myself wanting to achieve the "find all" functionality in Textmate without needing to use the mouse to point to this button. Of course when you do a ⇧⌘F the "find all" button is highlighted by default and you can simply type in your search phrase and hit enter. This is exactly what I would like from ⌘F (aka, scoped to a single document versus the project). Even if the "find all" button isn't the default it would be nice if there was some keyboard hotkey that allowed pressing this button without the hassle of having to move your mouse across and click the button.
Is there a way to do this? If not, could this be considered as a useful feature for a future release?
Ken
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
As you state, ⌘F highlights the "Next" button so pressing enter does just that (aka, finds the next result). What I'm looking for is the behaviour that exists when you press ⇧⌘F which changes the focused button to "find all" so that when you press enter it shows all the matches to your search phrase. Make sense?
Ken
On 21 June 2013 11:33, David Howden dhowden@gmail.com wrote:
Hi!
I've just done a few tests, and "Next" in this case means "Find the next result", so I think the functionality is actually there... Try Cmd+F, enter a search term, and then hit enter.
David.
On 21 June 2013 18:14, Ken Snyder ken+textmate@ken.net wrote:
I often find myself wanting to achieve the "find all" functionality in Textmate without needing to use the mouse to point to this button. Of course when you do a ⇧⌘F the "find all" button is highlighted by default and you can simply type in your search phrase and hit enter. This is exactly what I would like from ⌘F (aka, scoped to a single document versus the project). Even if the "find all" button isn't the default it would be nice if there was some keyboard hotkey that allowed pressing this button without the hassle of having to move your mouse across and click the button.
Is there a way to do this? If not, could this be considered as a useful feature for a future release?
Ken
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
After pressing enter which dismisses the dialog, you're now back to your document with the current search criteria still defined. Press ⌥⌘F to apply that search criteria to the rest of the document.
On Fri, Jun 21, 2013 at 9:30 AM, Ken Snyder ken+textmate@ken.net wrote:
As you state, ⌘F highlights the "Next" button so pressing enter does just that (aka, finds the next result). What I'm looking for is the behaviour that exists when you press ⇧⌘F which changes the focused button to "find all" so that when you press enter it shows all the matches to your search phrase. Make sense?
Ken
What I think Ken's after would be for a keyboard shortcut to actually activate the find all button when you're on the find (in document) dialog – so you get the list of found items in the way you do for find all (in project).
As an example a ⌘F + ⌥⌘F sequence could perform a find all (in document) instead of performing the multi caret find all when the focus is still on the find dialog.
Kind regards, George.
On Fri, Jun 21, 2013 at 3:39 PM, Craig Hess craig@dazium.com wrote:
After pressing enter which dismisses the dialog, you're now back to your document with the current search criteria still defined. Press ⌥⌘F to apply that search criteria to the rest of the document.
On Fri, Jun 21, 2013 at 9:30 AM, Ken Snyder ken+textmate@ken.net wrote:
As you state, ⌘F highlights the "Next" button so pressing enter does just that (aka, finds the next result). What I'm looking for is the behaviour that exists when you press ⇧⌘F which changes the focused button to "find all" so that when you press enter it shows all the matches to your search phrase. Make sense?
Ken
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Yes that is precisely what I'm looking for. Would be very useful for larger files.
On 21 June 2013 16:37, George McGinley Smith george@gsgd.co.uk wrote:
What I think Ken's after would be for a keyboard shortcut to actually activate the find all button when you're on the find (in document) dialog – so you get the list of found items in the way you do for find all (in project).
As an example a ⌘F + ⌥⌘F sequence could perform a find all (in document) instead of performing the multi caret find all when the focus is still on the find dialog.
Kind regards, George.
On Fri, Jun 21, 2013 at 3:39 PM, Craig Hess craig@dazium.com wrote:
After pressing enter which dismisses the dialog, you're now back to your document with the current search criteria still defined. Press ⌥⌘F to apply that search criteria to the rest of the document.
On Fri, Jun 21, 2013 at 9:30 AM, Ken Snyder ken+textmate@ken.net wrote:
As you state, ⌘F highlights the "Next" button so pressing enter does just that (aka, finds the next result). What I'm looking for is the behaviour that exists when you press ⇧⌘F which changes the focused button to "find all" so that when you press enter it shows all the matches to your search phrase. Make sense?
Ken
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Jun 21, 2013, at 15:14, Ken Snyder ken+textmate@ken.net wrote:
[…] Even if the "find all" button isn't the default it would be nice if there was some keyboard hotkey that allowed pressing this button […]
Starting with next build I’ve made Edit → Find → Find All (⌥⌘F) activate the button when the dialog is showing (when it is not showing, it remains the action to select all matches of the current search string).
I like this feature, but just to clarify...I think the new functionality should only come into play when the Find dialog has focus, rather than merely showing.
Here is a use case that supports this:
I do a "Find all in project". This loads all matches in the find dialog. Then while editing a particular file, I may want to press (⌥⌘F) to select the instances in that file and edit them a certain way, while not losing the matches listed in the dialog for the other files. I may even select a portion of a file and thus (⌥⌘F) should only select the instances within the selection.
Thanks, Curt
On Sat, Jun 22, 2013 at 9:45 AM, Allan Odgaard mailinglist@textmate.orgwrote:
On Jun 21, 2013, at 15:14, Ken Snyder ken+textmate@ken.net wrote:
[…] Even if the "find all" button isn't the default it would be nice if
there was some keyboard hotkey that allowed pressing this button […]
Starting with next build I’ve made Edit → Find → Find All (⌥⌘F) activate the button when the dialog is showing (when it is not showing, it remains the action to select all matches of the current search string).
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Great, thanks Allan. Look forward to it.
Ken
On 22 June 2013 15:45, Allan Odgaard mailinglist@textmate.org wrote:
On Jun 21, 2013, at 15:14, Ken Snyder ken+textmate@ken.net wrote:
[…] Even if the "find all" button isn't the default it would be nice if
there was some keyboard hotkey that allowed pressing this button […]
Starting with next build I’ve made Edit → Find → Find All (⌥⌘F) activate the button when the dialog is showing (when it is not showing, it remains the action to select all matches of the current search string).
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate