From dd7cb146aecd68ae4269618c8393dfe61ad294a4 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sat, 20 Jun 2015 11:37:22 +0100 Subject: [PATCH] Set Vim's yank buffer to the system clipboard --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 3f187d0..0b7e12e 100644 --- a/.vimrc +++ b/.vimrc @@ -50,6 +50,10 @@ set mouse=a " Always use vertical diffs set diffopt+=vertical +" Adds unnamed to existing values +" Yank buffer uses system clipboard +:set clipboard^=unnamed + " Syntax highlighting syntax on