Post

13 Incremental search commands

KeystrokesCommand nameAction
C-s Edit Search Incremental Search Forward Stringisearch-forwardStart incremental search forward; follow by search string. Also, find next occurrence (forward) of search string.
C-r Edit Search Incremental Search Backward Stringisearch-backwardStart incremental search backward; follow by search string. Also, find next occurrence (backward) of search string.
Enterisearch-exitIn an incremental search , exit the search.
C-gkeyboard-quitIn an incremental search , cancel the search.
Delisearch-delete-charIn an incremental search, delete character from search string.
C-s C-wisearch-yank-wordStart an incremental search with the word the cursor is on as the search string.
C-s C-yisearch-yank-lineStart an incremental search with the text from the cursor position to the end of the line as the search string.
C-s M-yisearch-yank-killStart an incremental search with text from the kill ring as the search string.
C-s C-sisearch-repeat-forwardRepeat previous search.
C-r C-risearch-repeat-backwardRepeat previous search backward.
This post is licensed under CC BY 4.0 by the author.