Disabling mouse.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
5a30c9b4a7
commit
93ebd05365
2 changed files with 26 additions and 0 deletions
25
debian/patches/progress-linux/0002-disable-mouse.patch
vendored
Normal file
25
debian/patches/progress-linux/0002-disable-mouse.patch
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
@@ -70,18 +70,6 @@ sunmap Q
|
||||
" Revert with ":iunmap <C-U>".
|
||||
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.
|
||||
-" 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
|
||||
-
|
||||
" Only do this part when Vim was compiled with the +eval feature.
|
||||
if 1
|
||||
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -6,3 +6,4 @@ Revert-patch-9.1.0949-popups-inconsistently-shifted-to-th.patch
|
|||
patch-9.1.1242-Crash-when-evaluating-variable-name.patch
|
||||
patch-9.1.1244-part-of-patch-v9.1.1242-was-wrong.patch
|
||||
progress-linux/0001-syntax-debversions.patch
|
||||
progress-linux/0002-disable-mouse.patch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue