query-replace-help

query-replace-help is a variable defined in `replace.el'.
Its value is

"Type Space or `y' to replace one match, Delete or `n' to skip to next,\nRET or `q' to exit, Period to replace one match and exit,\nComma to replace but not move point immediately,\nC-r to enter recursive edit (\\[exit-recursive-edit] to get out again),\nC-w to delete match and recursive edit,\nC-l to clear the screen, redisplay, and offer same replacement again,\n! to replace all remaining matches in this buffer with no more questions,\n^ to move point back to previous match,\nE to edit the replacement string.\nIn multi-buffer replacements type `Y' to replace all remaining\nmatches in all remaining buffers with no more questions,\n`N' to skip to the next buffer without replacing remaining matches\nin the current buffer."

  • This variable may be risky if used as a file-local variable.

Documentation:
Help message while in `query-replace'.