2020-03-31 16:30:46 +02:00
|
|
|
Index: vim-8.2.0348/runtime/defaults.vim
|
2018-03-23 20:54:16 +01:00
|
|
|
===================================================================
|
2020-03-31 16:30:46 +02:00
|
|
|
--- vim-8.2.0348.orig/runtime/defaults.vim
|
|
|
|
+++ vim-8.2.0348/runtime/defaults.vim
|
2019-10-29 13:35:13 +01:00
|
|
|
@@ -77,13 +77,15 @@ inoremap <C-U> <C-G>u<C-U>
|
2018-03-23 20:54:16 +01:00
|
|
|
" can position the cursor, Visually select and scroll with the mouse.
|
2019-10-29 13:35:13 +01:00
|
|
|
" Only xterm can grab the mouse events when using the shift key, for other
|
|
|
|
" terminals use ":", select text and press Esc.
|
2018-03-23 20:54:16 +01:00
|
|
|
-if has('mouse')
|
2019-10-29 13:35:13 +01:00
|
|
|
- if &term =~ 'xterm'
|
|
|
|
- set mouse=a
|
|
|
|
- else
|
|
|
|
- set mouse=nvi
|
|
|
|
- endif
|
2018-03-23 20:54:16 +01:00
|
|
|
-endif
|
2019-10-29 13:35:13 +01:00
|
|
|
+" disabled in (open)SUSE to make copy&pase work as most people
|
|
|
|
+" except it boo#1079185
|
2018-03-23 20:54:16 +01:00
|
|
|
+"if has('mouse')
|
2019-10-29 13:35:13 +01:00
|
|
|
+" if &term =~ 'xterm'
|
|
|
|
+" set mouse=a
|
|
|
|
+" else
|
|
|
|
+" set mouse=nvi
|
|
|
|
+" endif
|
2018-03-23 20:54:16 +01:00
|
|
|
+"endif
|
|
|
|
|
|
|
|
" Switch syntax highlighting on when the terminal has colors or when using the
|
|
|
|
" GUI (which always has colors).
|