vim/vim-8.0.1568-defaults.patch
Ismail Dönmez e6ef350dfb Accepting request 876221 from home:lnussel:branches:editors
- install suse vimrc in /usr (boo#1182324, vim-8.0.1568-globalvimrc.patch).
  Add back some settings from defaults.vim that were in suse.vimrc before
- prevent double loading of spec.vim

OBS-URL: https://build.opensuse.org/request/show/876221
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=652
2021-03-02 19:20:36 +00:00

28 lines
804 B
Diff

Index: vim-8.2.2411/runtime/defaults.vim
===================================================================
--- vim-8.2.2411.orig/runtime/defaults.vim
+++ vim-8.2.2411/runtime/defaults.vim
@@ -77,13 +77,15 @@ inoremap <C-U> <C-G>u<C-U>
" can position the cursor, Visually select and scroll with the mouse.
" Only xterm can grab the mouse events when using the shift key, for other
" terminals use ":", select text and press Esc.
-if has('mouse')
- if &term =~ 'xterm'
- set mouse=a
- else
- set mouse=nvi
- endif
-endif
+" disabled in (open)SUSE to make copy&pase work as most people
+" except it boo#1079185
+"if has('mouse')
+" if &term =~ 'xterm'
+" set mouse=a
+" else
+" set mouse=nvi
+" endif
+"endif
" Only do this part when Vim was compiled with the +eval feature.
if 1