Accepting request 590762 from editors
OBS-URL: https://build.opensuse.org/request/show/590762 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim?expand=0&rev=208
This commit is contained in:
commit
0b9bb86d68
@ -70,9 +70,6 @@ set nocompatible
|
|||||||
" allow backspacing over everything in insert mode
|
" allow backspacing over everything in insert mode
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
|
|
||||||
" Fix cut-n-paste bsc#1079185
|
|
||||||
set mouse=
|
|
||||||
|
|
||||||
" Complete longest common string, then each full match
|
" Complete longest common string, then each full match
|
||||||
" enable this for bash compatible behaviour
|
" enable this for bash compatible behaviour
|
||||||
" set wildmode=longest,full
|
" set wildmode=longest,full
|
||||||
|
19
vim-8.0.1568-defaults.patch
Normal file
19
vim-8.0.1568-defaults.patch
Normal 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).
|
@ -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
|
Thu Mar 8 10:44:01 UTC 2018 - idonmez@suse.com
|
||||||
|
|
||||||
|
2
vim.spec
2
vim.spec
@ -60,6 +60,7 @@ Patch22: %{name}-7.4-filetype_mine.patch
|
|||||||
Patch23: vim-8.0-ttytype-test.patch
|
Patch23: vim-8.0-ttytype-test.patch
|
||||||
Patch24: disable-unreliable-tests.patch
|
Patch24: disable-unreliable-tests.patch
|
||||||
Patch100: vim73-no-static-libpython.patch
|
Patch100: vim73-no-static-libpython.patch
|
||||||
|
Patch101: vim-8.0.1568-defaults.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: db-devel
|
BuildRequires: db-devel
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -165,6 +166,7 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
|
|||||||
%patch23 -p1
|
%patch23 -p1
|
||||||
%patch24 -p1
|
%patch24 -p1
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
|
%patch101 -p1
|
||||||
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
|
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
|
||||||
|
|
||||||
# Unreliable tests
|
# Unreliable tests
|
||||||
|
Loading…
Reference in New Issue
Block a user