blob: 121de9b2efa261bc8f9675cc7e5f208b6b18e428 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
Author: Daniel Baumann <daniel.baumann@progress-linux.org>
Description: Disabling mouse.
diff -Naurp vim.orig/runtime/defaults.vim vim/runtime/defaults.vim
--- vim.orig/runtime/defaults.vim
+++ vim/runtime/defaults.vim
@@ -77,13 +77,13 @@ 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
+"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
|