summaryrefslogtreecommitdiff
path: root/system/vim/no-default-mouse.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-01-27 20:30:55 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-01-27 20:30:55 +0000
commit20ed702c35ad049d359ddb5a0407269c619ae884 (patch)
tree8992ff130c1895176bf25da3ba1a1ce1fed20389 /system/vim/no-default-mouse.patch
parent8179d35ff1daa7f0e079a13cba05b041515d489d (diff)
parent2cb0d9b4f32974ef48f8098d1ff692e813a62f15 (diff)
downloadpackages-20ed702c35ad049d359ddb5a0407269c619ae884.tar.gz
packages-20ed702c35ad049d359ddb5a0407269c619ae884.tar.bz2
packages-20ed702c35ad049d359ddb5a0407269c619ae884.tar.xz
packages-20ed702c35ad049d359ddb5a0407269c619ae884.zip
Merge branch 'bump.aerdan.20190127' into 'master'
Bump a bunch of software, holy crap See merge request !155
Diffstat (limited to 'system/vim/no-default-mouse.patch')
-rw-r--r--system/vim/no-default-mouse.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/vim/no-default-mouse.patch b/system/vim/no-default-mouse.patch
new file mode 100644
index 000000000..c34b9cae7
--- /dev/null
+++ b/system/vim/no-default-mouse.patch
@@ -0,0 +1,16 @@
+diff -Nurd vim-8.1.0712/runtime/defaults.vim vim-8.1.0712.new/runtime/defaults.vim
+--- vim-8.1.0712/runtime/defaults.vim 2019-01-09 16:02:43.000000000 -0600
++++ vim-8.1.0712.new/runtime/defaults.vim 2019-01-27 01:18:04.196123398 -0600
+@@ -73,12 +73,6 @@
+ " 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.
+-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).
+ if &t_Co > 2 || has("gui_running")