How do I set the vimrc in Vim to make the default register the clipboard? I basically want to change all keys that interact with the default register.
1 Answer
You're looking for
:set clipboard^=unnamedplus
All commands that take a register will now default to the clipboard, as if you had prepended "+
.
-
I run that command in gvim it tells me E474: Invalid arguemnt: clipboard^=unnamedplus Nov 27, 2013 at 14:15
-
-
Now it runs. It works for pasting but it doesn't work for yanking. Nov 27, 2013 at 14:40