vim - yank into register also yank to the default one after upgrading to MacOS Sierra -
if remember correctly, before updating, "+y
yank system clipboard, not affect register p
using.
after updating does.
this controlled clipboard
option. see it's set to, run:
:set clipboard?
this can have number of values, including combinations. if it's unnamed
, p
, y
, etc. use *
register. if it's unnamedplus
, they'll use +
register. there other values , combinations (see :help 'clipboard'
(include quotes)).
it's yours set unnamedplus
, or possibly combination (unnamed,unnamedplus
, put in both *
, +
).
if don't want "+y
affecting default p
register, put in ~/.vimrc
:
set clipboard=unnamed
Comments
Post a Comment