vim: do not autoenable the mouse
PATCH 1/1 vim: do not autoenable the mouse
From: Jackie Huang <[email protected]>
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.
--- meta-xfce/recipes-support/vim/vim_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta-xfce/recipes-support/vim/vim_%.bbappend
meta-xfce/recipes-support/vim/vim_%.bbappend new file +6 -0
@@ -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 +}
Signature · 1 line
1.9.1
Quoted 27 lines
-----Original Message-----
From: [email protected] [mailto:openembedded-devel- [email protected]] On Behalf Of [email protected]
Sent: Monday, October 12, 2015 5:16 PM
To: [email protected]
Subject: [oe] [meta-xfce][PATCH] vim: do not autoenable the mouseFrom: Jackie Huang <[email protected]>
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 <[email protected]>--- meta-xfce/recipes-support/vim/vim_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta-xfce/recipes-support/vim/vim_%.bbappendmeta-xfce/recipes- renamed from meta-xfce/recipes-support/vim/vim_%.bbappend +0
-0support/vim/vim_%.bbappend
new file mode 100644
index 0000000..abd3128
meta-xfce/recipes-support/vim/vim_%.bbappend line 5
Quoted 5 lines
meta-xfce/recipes-support/vim/vim_%.bbappend new file +5
-0@@ -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 }
Please ignore this since it will fail for multilib, I will change PN -> BPN and send v2 patch.
Thanks,
Jackie
Quoted 8 lines
--
1.9.1--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel