[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Press Ctrl+I to activate the incremental search. You will immediately see "Incremenetal search:" at the status line. The cursor will remain at the text you currently edit. As you start typing the initial characters of the search pattern, the cursor will move to the first matching position. The matching portion will be highlighted and will as well appear on the status line.
If you press ESC you will cancel the incremental search mode and will return at the position where you initially pressed Ctrl+I.
If you press <Backspace> you will trim the last symbol of the pattern down and the cursor will move on the previous occurence of the pattern.
If you press F3 you will jump on the next occurence of the pattern.
If you press Shift+F3 you will jump on an occurence that is backward to the current cursor position.
During the incremental search mode the file is searched in a closed loop circle. The cursor will wrap at the end of the file and will jump at the first occurence from the start of the file. This will be indicated by a message at the status line -- "<End of file passed>".
If you are satisfied with the position of the current occurence, just use the arrow keys to remain there. This ends the incremental search mode.
Upon termination of the incremental search mode, the pattern is stored as a current search pattern and can be reused by pressing F3 or Shift+F3. The pattern is stored in the search history and can be edited by entering the full pattern search -- Ctrl+F.
Using incremental search is a short-cut of jumping to a specific text as it may be enough to type just a few of the initial characters of the pattern. In contrast the full scale search (Ctrl+F) requires you to type the full pattern before activating the search.
Use Ctrl+Shift+I to start incremental search backward.
See section 19. Search And Replace. |
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |