Stamp: 06 July 2008 | 2 Comments | Back to Previous Page
ADVERTISEMENTS
Command F is the most common used keystrokes among Mac users. It can help you search for particular text in your document. But there are some of the trick you may not know before reading this article.
Search for Words Under Selection
Let's consider a worst case scenario, you have a thousands lines of words in your document and you want to find certain keyword from that text document. Usually you will just hit Command F and type in the word. It works fine, but if you do like this: Highlight part of the document and when doing the searching Command F, press Control Option.
You will notice that now Replace All button will be changed into In Selection. But it's only showing you some parts of the magic, actually it's saying like this Select All Keywords In Selection. And it will look like screenshots below.
In this way, you don't need to find the next matched word Command G and instead, you can scroll down and pay attention to the highlighted words. It's pretty useful for highly keyword densed text document.
Search for Words Separated with Line Break
This trick is very useful for searching in html documents. For example, you want to search for ul li with line break in the middle of those two tags, typing ul li alone cannot solve the problem. It won't return you any search results.
To add the line break, you should press Option Return. This keystrokes will perfectly give you the line break.
Re-Emphasize Selection
If you've scrolled down to other part of the document and left the selected area out of your sight. You can always press keystrokes Command J to re-emphasize selection. You will be automatically jumped to that selection. It has the same effect as searching again but with easier step.
Categories: Tips and Tricks | Post Comment | Back to Top
Related Entries:





2 Comments
MacTipper
Option-Return is a great one to know! I would always copy a carriage return and then paste it into the search window. It's nice to know of this one.
Thanks MacTipper My Mac-Tipping BlogReply | Back to Top
jhm
I usually find out why I'm mistaken about one minute after posting the question, so perhaps this will spur my grey cells: Why does this work, but Command-E does nothing but flash the Edit rubric?
Reply | Back to Top
Post a Comment
You can't be anonymous
C'mon, I'm sure you've got something to say.