Search for a destination
The technique
What you type shows at the bottom of the editor. Enter jumps there and Esc would cancel the search.
Keys in this lesson
- /text
- Search forward. Press Enter to go.
- ?text
- Search backward.
Before this lesson: Reach a line or buffer boundary.
More about this lesson
Search forward or backward, and see what happens when a search reaches the end of the file.
/ searches forward and ? searches backward. Type some text and press Enter. Esc cancels the search. A search looks past the current line, and when it reaches the end of the file it carries on from the other end. You don't have to type the whole word: a few letters are enough when they only match where you want to go. A search can also match text inside a longer word, so check where you land.
Example
From the top of a note, /agenda then Enter reaches the next agenda. From below it, ?agenda then Enter searches backward. What you type after / goes into the search, not the file, and Enter jumps to the match.
Use Start over to try again.