summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0003-disable-mouse.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/progress-linux/0003-disable-mouse.patch')
-rw-r--r--debian/patches/progress-linux/0003-disable-mouse.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0003-disable-mouse.patch b/debian/patches/progress-linux/0003-disable-mouse.patch
new file mode 100644
index 0000000..d45d8ad
--- /dev/null
+++ b/debian/patches/progress-linux/0003-disable-mouse.patch
@@ -0,0 +1,19 @@
+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
+@@ -75,9 +75,9 @@ inoremap <C-U> <C-G>u<C-U>
+
+ " In many terminal emulators the mouse works just fine. By enabling it you
+ " can position the cursor, Visually select and scroll with the mouse.
+-if has('mouse')
+- set mouse=a
+-endif
++"if has('mouse')
++" set mouse=a
++"endif
+
+ " Switch syntax highlighting on when the terminal has colors or when using the
+ " GUI (which always has colors).