Jackie Huang 2effb83c6a 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>
2015-10-23 12:53:22 +02:00

7 lines
261 B
Plaintext

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
}