summaryrefslogblamecommitdiff
path: root/system/vim/no-default-mouse.patch
blob: c34b9cae7fda09b6bdfc3abfb72df0639484daca (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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")