~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libuv: Update from 1.19.1 to 1.19.2
[termux-packages]
/
packages
/
vim
/
vimrc
diff --git
a/packages/vim/vimrc
b/packages/vim/vimrc
index
aa95f7f
..
7f2111e
100644
(file)
--- a/
packages/vim/vimrc
+++ b/
packages/vim/vimrc
@@
-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