From 9fb86fce6b97733f184d911c9d3c1efddd4ec965 Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Wed, 15 Nov 2017 20:03:19 -0700 Subject: Use proper register for system clipboard (vim) --- base/vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'base') diff --git a/base/vimrc b/base/vimrc index 2117d86..befd96e 100644 --- a/base/vimrc +++ b/base/vimrc @@ -142,9 +142,9 @@ nnoremap l :nohlsearch:diffupdate:syntax sync fromstart nnoremap [ :put! =repeat(nr2char(10), v:count1)'[ nnoremap ] :put =repeat(nr2char(10), v:count1) -noremap y "*y -noremap yy "*Y -noremap p :set paste:put *:set nopaste +noremap y "+y +noremap yy "+Y +noremap p :set paste:put +:set nopaste noremap + :s/^\s*/&\/\//:noh noremap - :s/^\(\s*\)\/\//\1/:noh -- cgit v1.2.3-70-g09d2