 <p>You can use "M-x replace-string", It means that you need press <kbd>Alt</kbd> + <kbd>x</kbd>, then input "replace-string" then <kbd>Enter</kbd>. Now, you can type in what to search. After an other <kbd>Enter</kbd>, you can type in what it should be replaced. Or you can set a hotkey in your dotemacs file. like:</p> <pre class="lang-lisp prettyprint-override"><code>(global-set-key [f11] 'replace-string) </code></pre> <p>then, you can use <kbd>F11</kbd> to call this function.</p>