From 49a897667fd3e446ccba382178a286a61d863f57 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 19 Apr 2015 05:25:42 +0200 Subject: vim: Yank to clipboard and selection by default diff --git a/vim/vimrc b/vim/vimrc index 285280d..59fc373 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -67,8 +67,8 @@ set noexpandtab " Automatically hide buffers instead of requiring bangcommands set hidden -" Paste mode when pressing Insert, disables autoformating -set pastetoggle= +" Yank to clipboard/selection by default +set clipboard=unnamed,unnamedplus " Installation check. NeoBundleCheck --- vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 285280d..59fc373 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -67,8 +67,8 @@ set noexpandtab " Automatically hide buffers instead of requiring bangcommands set hidden -" Paste mode when pressing Insert, disables autoformating -set pastetoggle= +" Yank to clipboard/selection by default +set clipboard=unnamed,unnamedplus " Installation check. NeoBundleCheck -- cgit v1.2.3-70-g09d2