diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2015-10-16 15:27:09 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-23 12:53:22 +0200 |
commit | 2effb83c6adb73c4047f482bd67d218ad03f67f9 (patch) | |
tree | b4b3a0e7018d0a521eb6f98d041530b9b53426bb /meta-xfce | |
parent | 3c3908a03abb93d901e67ceaedeadc51fdb8eab3 (diff) | |
download | meta-openembedded-2effb83c6adb73c4047f482bd67d218ad03f67f9.tar.gz |
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>
Diffstat (limited to 'meta-xfce')
-rw-r--r-- | meta-xfce/recipes-support/vim/vim_%.bbappend | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-xfce/recipes-support/vim/vim_%.bbappend b/meta-xfce/recipes-support/vim/vim_%.bbappend new file mode 100644 index 0000000000..25403e6cb5 --- /dev/null +++ b/meta-xfce/recipes-support/vim/vim_%.bbappend @@ -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 +} |