chiark / gitweb /
debianutils: Update from 4.8.3 to 4.8.4
[termux-packages] / packages / vim-python / vimrc
index aa95f7fede1d1295d7e3a15e9147b8d55e0402fa..7f2111e39c6dc276e4fb3d9a0ccd27b295664ef6 100644 (file)
@@ -4,6 +4,10 @@ imap <ScrollWheelUp> <C-X><C-Y>
 map <ScrollWheelDown> <C-E>
 imap <ScrollWheelDown> <C-X><C-E>
 
 map <ScrollWheelDown> <C-E>
 imap <ScrollWheelDown> <C-X><C-E>
 
+" As of version 8, vim enables the mouse by default - but only if no ~/.vimrc
+" is found. Enable that unconditionally for Termux as it's useful with touch:
+set mouse=a
+
 " sensible.vim - Defaults everyone can agree on
 " Maintainer:   Tim Pope <http://tpo.pe/>
 " Version:      1.1
 " sensible.vim - Defaults everyone can agree on
 " Maintainer:   Tim Pope <http://tpo.pe/>
 " Version:      1.1