summaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-support
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2015-10-16 15:27:09 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-10-23 12:53:22 +0200
commit2effb83c6adb73c4047f482bd67d218ad03f67f9 (patch)
treeb4b3a0e7018d0a521eb6f98d041530b9b53426bb /meta-xfce/recipes-support
parent3c3908a03abb93d901e67ceaedeadc51fdb8eab3 (diff)
downloadmeta-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/recipes-support')
-rw-r--r--meta-xfce/recipes-support/vim/vim_%.bbappend6
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 000000000..25403e6cb
--- /dev/null
+++ b/meta-xfce/recipes-support/vim/vim_%.bbappend
@@ -0,0 +1,6 @@
1do_install_append() {
2 # The mouse being autoenabled is just annoying in xfce4-terminal (mouse
3 # drag make vim go into visual mode and there is no right click menu),
4 # delete the block.
5 sed -i '/the mouse works just fine/,+4d' ${D}/${datadir}/${BPN}/vimrc
6}