Difference between revisions of "Incremental Search"

From WikEmacs
Jump to navigation Jump to search
(Created page with "The principal search command in Emacs is incremental: it begins searching as soon as you type the first character of the search string. As you type in the search string, Emacs...")
 
Line 1: Line 1:
 
The principal search command in Emacs is incremental: it begins searching as soon as you type the first character of the search string. As you type in the search string, Emacs shows you where the string (as you have typed it so far) would be found. When you have typed enough characters to identify the place you want, you can stop. Depending on what you plan to do next, you may or may not need to terminate the search explicitly with <RET>.
 
The principal search command in Emacs is incremental: it begins searching as soon as you type the first character of the search string. As you type in the search string, Emacs shows you where the string (as you have typed it so far) would be found. When you have typed enough characters to identify the place you want, you can stop. Depending on what you plan to do next, you may or may not need to terminate the search explicitly with <RET>.
  
C-s
+
* C-s Incremental search forward (isearch-forward).  
Incremental search forward (isearch-forward).  
+
* C-r Incremental search backward (isearch-backward)
C-r
 
Incremental search backward (isearch-backward)
 

Revision as of 14:51, 28 March 2012

The principal search command in Emacs is incremental: it begins searching as soon as you type the first character of the search string. As you type in the search string, Emacs shows you where the string (as you have typed it so far) would be found. When you have typed enough characters to identify the place you want, you can stop. Depending on what you plan to do next, you may or may not need to terminate the search explicitly with <RET>.

  • C-s Incremental search forward (isearch-forward).
  • C-r Incremental search backward (isearch-backward)