title: why does vim has different escape character for newline between searching and replacing
body: <p><strong>When searching:</strong></p>
  
  <pre><code>\n is newline, \r is CR (carriage return = Ctrl-M = ^M)
  </code></pre>
  
  <p><strong>When replacing:</strong></p>
  
  <pre><code>\r is newline, \n is a null byte (0x00).
  </code></pre>
  
  <p>Why designed in such inconsistent way?</p>