[oe] [meta-xfce][PATCH] vim: do not autoenable the mouse
jackie.huang at windriver.com
jackie.huang at windriver.com
Mon Oct 12 09:15:33 UTC 2015
From: Jackie Huang <jackie.huang at windriver.com>
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 mouse.
Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
meta-xfce/recipes-support/vim/vim_%.bbappend | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 meta-xfce/recipes-support/vim/vim_%.bbappend
diff --git a/meta-xfce/recipes-support/vim/vim_%.bbappend b/meta-xfce/recipes-support/vim/vim_%.bbappend
new file mode 100644
index 0000000..abd3128
--- /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}/${PN}/vimrc
+}
--
1.9.1
More information about the Openembedded-devel
mailing list