title: How to copy only yanked text to system clipboard in vim
body: <p>I can copy to system clipboard using <code>clipboard=unnamedplus</code>. However this also copies text to system clipboard when using commands like <code>dd</code> or <code>ciw</code>.</p>
  
  <p>For example, if I copy some text, and then use <code>ciw</code>, the text that I am replacing gets copied in the system clipboard and I have to copy the original text again to be able to paste it.</p>
  
  <p>What I want is to copy to system clipboard only when I yank(<code>y</code>) a selection, or use commands such as <code>yy</code>, <code>yiw</code> or similar.</p>