From def543131beb67cb04955ca79132deb8cc277d87 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Wed, 6 Oct 2021 13:50:49 -0400 Subject: [PATCH] Remove CopyPaste mode. Let clipboard handle it. --- .vimrc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.vimrc b/.vimrc index b59d1b6..e203107 100644 --- a/.vimrc +++ b/.vimrc @@ -158,22 +158,6 @@ if has ("autocmd") augroup END endif -let s:copypastemode = 0 -function! ToggleCopyPaste() - if s:copypastemode - set nopaste - set number - set relativenumber - let s:copypastemode = 0 - else - set paste - set nonumber - set norelativenumber - let s:copypastemode = 1 - endif -endfunction -nnoremap :call ToggleCopyPaste() -inoremap :call ToggleCopyPaste()i nnoremap p inoremap p