summaryrefslogtreecommitdiff
path: root/system/vim/no-default-mouse.patch
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2019-01-27 01:30:26 -0600
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2019-01-27 01:30:26 -0600
commita8efa399d5161d66d7569ad6b57ee6fbf847022a (patch)
treecd6a9a834a1517a2f95009a1c5e013c05c0b05eb /system/vim/no-default-mouse.patch
parent63b991b36046f8c219d67fa7d554803eb7ccd3bf (diff)
downloadpackages-a8efa399d5161d66d7569ad6b57ee6fbf847022a.tar.gz
packages-a8efa399d5161d66d7569ad6b57ee6fbf847022a.tar.bz2
packages-a8efa399d5161d66d7569ad6b57ee6fbf847022a.tar.xz
packages-a8efa399d5161d66d7569ad6b57ee6fbf847022a.zip
system/vim: upgrade to 8.1.0829
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")