* [meta-xfce][PATCH] vim: do not autoenable the mouse
@ 2015-10-12 9:15 jackie.huang
2015-10-15 3:15 ` Huang, Jie (Jackie)
0 siblings, 1 reply; 2+ messages in thread
From: jackie.huang @ 2015-10-12 9:15 UTC (permalink / raw)
To: openembedded-devel
From: Jackie Huang <jackie.huang@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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-xfce][PATCH] vim: do not autoenable the mouse
2015-10-12 9:15 [meta-xfce][PATCH] vim: do not autoenable the mouse jackie.huang
@ 2015-10-15 3:15 ` Huang, Jie (Jackie)
0 siblings, 0 replies; 2+ messages in thread
From: Huang, Jie (Jackie) @ 2015-10-15 3:15 UTC (permalink / raw)
To: openembedded-devel
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-
> bounces@lists.openembedded.org] On Behalf Of jackie.huang@windriver.com
> Sent: Monday, October 12, 2015 5:16 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [meta-xfce][PATCH] vim: do not autoenable the mouse
>
> From: Jackie Huang <jackie.huang@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@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 }
Please ignore this since it will fail for multilib, I will change PN -> BPN and send
v2 patch.
Thanks,
Jackie
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-15 3:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-12 9:15 [meta-xfce][PATCH] vim: do not autoenable the mouse jackie.huang
2015-10-15 3:15 ` Huang, Jie (Jackie)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.