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.
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.
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.
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.
Some articles taken from our resource base, tightly related to current article, to empower you with more knowledge on tweaking the most out of your Mac.