c6d85ad3bb
- source correct suse.vimrc file (boo#1182324) OBS-URL: https://build.opensuse.org/request/show/873512 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=649
35 lines
949 B
Diff
35 lines
949 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
|
|
@@ -139,3 +141,6 @@ if has('langmap') && exists('+langremap'
|
|
" compatible).
|
|
set nolangremap
|
|
endif
|
|
+
|
|
+" include SUSE tweaks
|
|
+ru suse.vimrc
|