From 4d1f5dbada37257b7db1fbf616f7d6eadb3e9623 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Tue, 6 May 2014 10:36:15 +0200 Subject: vim: use always the clipboard. --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vimrc b/vimrc index 545331e..dbac504 100644 --- a/vimrc +++ b/vimrc @@ -36,6 +36,11 @@ set nowrap set nobackup set noswapfile +" Use always the clipboard. +" NOTE: this only works if you have vim with clipboard support. You can check +" this by calling vim --version and see if you have +clipboard. +set clipboard=unnamed + "" " Colorscheme -- cgit v1.2.3