Dominique Leuenberger 2018-03-29 09:48:05 +00:00 committed by Git OBS Bridge
commit 0b9bb86d68
4 changed files with 27 additions and 3 deletions

View File

@ -70,9 +70,6 @@ set nocompatible
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
" Fix cut-n-paste bsc#1079185
set mouse=
" Complete longest common string, then each full match
" enable this for bash compatible behaviour
" set wildmode=longest,full

View File

@ -0,0 +1,19 @@
Index: vim-8.0.1568/runtime/defaults.vim
===================================================================
--- vim-8.0.1568.orig/runtime/defaults.vim
+++ vim-8.0.1568/runtime/defaults.vim
@@ -75,9 +75,11 @@ inoremap <C-U> <C-G>u<C-U>
" In many terminal emulators the mouse works just fine. By enabling it you
" can position the cursor, Visually select and scroll with the mouse.
-if has('mouse')
- set mouse=a
-endif
+" disabled in (open)SUSE to make copy&paste work as most people
+" expect it bsc#1079185
+"if has('mouse')
+" set mouse=a
+"endif
" Switch syntax highlighting on when the terminal has colors or when using the
" GUI (which always has colors).

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 23 12:15:38 UTC 2018 - lnussel@suse.de
- instead of explicitly unsetting mouse, remove it from the defaults in the
first place (boo#1079185, vim-8.0.1568-defaults.patch)
-------------------------------------------------------------------
Thu Mar 8 10:44:01 UTC 2018 - idonmez@suse.com

View File

@ -60,6 +60,7 @@ Patch22: %{name}-7.4-filetype_mine.patch
Patch23: vim-8.0-ttytype-test.patch
Patch24: disable-unreliable-tests.patch
Patch100: vim73-no-static-libpython.patch
Patch101: vim-8.0.1568-defaults.patch
BuildRequires: autoconf
BuildRequires: db-devel
BuildRequires: fdupes
@ -165,6 +166,7 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
%patch23 -p1
%patch24 -p1
%patch100 -p1
%patch101 -p1
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
# Unreliable tests