title: How can I make the tilde operator change ‘==’ to ‘!=’ in Vim?
body: <p>I would like the normal-mode command tilde <code>~</code>, in addition to changing the case of letters, to also be able to change the text <code>==</code> to <code>!=</code> and <code>!=</code> to <code>==</code>.</p>
  
  <p>I find that I do this quite often and I'd like a shortcut that still uses the tilde.</p>