From f2ad5eb8d0326ee979c0b893b9093924cfee772a Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Wed, 30 Sep 2015 08:39:58 +0100 Subject: [PATCH] Set vim to use unnamed clipboard so yanks go to the system clipboard. --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 4ce7b9a..db91c90 100644 --- a/.vimrc +++ b/.vimrc @@ -63,3 +63,6 @@ let g:neocomplcache_enable_at_startup = 1 " Set filetypes au BufRead,BufNewFile *.md set filetype=markdown au BufRead,BufNewFile *.go set filetype=go + +" Cut'n'paste into main buffer +set clipboard=unnamed