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