Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I do agree that I would be in favor of making that the default register as well so that ex. just `yy`/`p` used it.

  set clipboard=unnamedplus
I deliberately do not use this beause I don’t want random Vim edits to clobber my system clipboard.


Agreed. I am completely okay with the separate clipboards. Allows stuff like cc or dd followed by pasting in from the system clipboard (different text) without having to go re-copy something because you just overwrote it. I used spacemacs for a while and I absolutely hated the clipboard syncing.


Well, vim has an absurdly large number of registers. You could just do ex.

  "add"+p
(that is, "delete this line into register a, then paste from +")




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: