summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:18:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:18:20 +0000
commit087a79735c8536a9d0690b19fa6ec908e9453c87 (patch)
treed9458ac992c6761179ed0dde3abbd872647689bc /debian
parentUpdating debversions for Progress Linux 1 to 9. (diff)
downloadvim-087a79735c8536a9d0690b19fa6ec908e9453c87.tar.xz
vim-087a79735c8536a9d0690b19fa6ec908e9453c87.zip
Disabling mouse.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/progress-linux/0002-disable-mouse.patch27
-rw-r--r--debian/patches/series1
2 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0002-disable-mouse.patch b/debian/patches/progress-linux/0002-disable-mouse.patch
new file mode 100644
index 0000000..121de9b
--- /dev/null
+++ b/debian/patches/progress-linux/0002-disable-mouse.patch
@@ -0,0 +1,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
diff --git a/debian/patches/series b/debian/patches/series
index a121e21..3359705 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch
debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch
debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch
progress-linux/0001-syntax-debversions.patch
+progress-linux/0002-disable-mouse.patch