lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
99995c5
diff -up vim81/runtime/defaults.vim.copypaste vim81/runtime/defaults.vim
99995c5
--- vim81/runtime/defaults.vim.copypaste	2019-10-30 10:30:23.108710252 +0100
99995c5
+++ vim81/runtime/defaults.vim	2019-10-30 10:36:19.127508406 +0100
99995c5
@@ -73,18 +73,6 @@ map Q gq
7b7b6b0
 " Revert with ":iunmap <C-U>".
7b7b6b0
 inoremap <C-U> <C-G>u<C-U>
43f7831
 
7b7b6b0
-" In many terminal emulators the mouse works just fine.  By enabling it you
7b7b6b0
-" can position the cursor, Visually select and scroll with the mouse.
99995c5
-" Only xterm can grab the mouse events when using the shift key, for other
99995c5
-" terminals use ":", select text and press Esc.
7b7b6b0
-if has('mouse')
99995c5
-  if &term =~ 'xterm'
99995c5
-    set mouse=a
99995c5
-  else
99995c5
-    set mouse=nvi
99995c5
-  endif
7b7b6b0
-endif
7b7b6b0
-
43f7831
 " Switch syntax highlighting on when the terminal has colors or when using the
7b7b6b0
 " GUI (which always has colors).
7b7b6b0
 if &t_Co > 2 || has("gui_running")