mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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:
parent
3c3908a03a
commit
2effb83c6a
6
meta-xfce/recipes-support/vim/vim_%.bbappend
Normal file
6
meta-xfce/recipes-support/vim/vim_%.bbappend
Normal 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
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user