vim: do not autoenable the mouse

The mouse being autoenabled is just annoying in xfce4-terminal (mouse
drag make vim go into visual mode and there is no right click menu),
so remove the setting for xfce.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Jackie Huang 2015-10-16 15:27:09 +08:00 committed by Martin Jansa
parent 3c3908a03a
commit 2effb83c6a

View File

@ -0,0 +1,6 @@
do_install_append() {
# The mouse being autoenabled is just annoying in xfce4-terminal (mouse
# drag make vim go into visual mode and there is no right click menu),
# delete the block.
sed -i '/the mouse works just fine/,+4d' ${D}/${datadir}/${BPN}/vimrc
}