vim/vim-8.0.1568-defaults.patch
Ismail Dönmez 70cb59efc9 Accepting request 590674 from home:lnussel:branches:editors
- instead of explicitly unsetting mouse, remove it from the defaults in the
  first place (boo#1079185, vim-8.0.1568-defaults.patch)

OBS-URL: https://build.opensuse.org/request/show/590674
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=490
2018-03-23 19:54:16 +00:00

20 lines
673 B
Diff

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).