diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:57:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:57:11 +0000 |
commit | 7974254e2e411ed5f599b35579df4f0516a27a42 (patch) | |
tree | 50b80406e1d92591a11c29521247fc12f6fcae05 /debian | |
parent | Updating debsources syntax for Progress Linux 1 to 9. (diff) | |
download | vim-7974254e2e411ed5f599b35579df4f0516a27a42.tar.xz vim-7974254e2e411ed5f599b35579df4f0516a27a42.zip |
Disabling mouse.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/progress-linux/0003-disable-mouse.patch | 19 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 20 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). diff --git a/debian/patches/series b/debian/patches/series index fd1c3c2..5862d3b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -23,3 +23,4 @@ upstream/patch-8.2.3409-reading-beyond-end-of-line-with-invalid-ut.patch upstream/patch-8.2.3428-using-freed-memory-when-replacing.patch progress-linux/0001-syntax-debchangelog.patch progress-linux/0002-syntax-debsources.patch +progress-linux/0003-disable-mouse.patch |