d9ed24658f
* test_arglist * test_command_count * test_diffmode * test_mksession * test_startup * test_window_cmd OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=594
28 lines
845 B
Diff
28 lines
845 B
Diff
Index: vim-8.2.0348/runtime/defaults.vim
|
|
===================================================================
|
|
--- vim-8.2.0348.orig/runtime/defaults.vim
|
|
+++ vim-8.2.0348/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
|
|
|
|
" Switch syntax highlighting on when the terminal has colors or when using the
|
|
" GUI (which always has colors).
|