diff options
Diffstat (limited to 'system/vim/no-default-mouse.patch')
-rw-r--r-- | system/vim/no-default-mouse.patch | 16 |
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") |