From a48fc9897013328aceedac265d1958f61f3ab757 Mon Sep 17 00:00:00 2001 From: nojhan Date: Wed, 9 May 2012 17:52:28 +0200 Subject: [PATCH] all operations such as yy, D, and P work with the X clipboard --- .vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index b949436..59bc2af 100644 --- a/.vimrc +++ b/.vimrc @@ -38,7 +38,11 @@ set guioptions-=T "remove toolbar set colorcolumn=80,120 " highligth the 80th and 120th column -set cursorline +set cursorline " highlight current line + +" all operations such as yy, D, and P work with the clipboard. +" No need to prefix them with "* or "+ +set clipboard=unnamed let mapleader = "," " leader key is comma