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/patches/progress-linux | |
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/patches/progress-linux')
-rw-r--r-- | debian/patches/progress-linux/0003-disable-mouse.patch | 19 |
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). |