From 2effb83c6adb73c4047f482bd67d218ad03f67f9 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Fri, 16 Oct 2015 15:27:09 +0800 Subject: 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 Signed-off-by: Martin Jansa --- meta-xfce/recipes-support/vim/vim_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta-xfce/recipes-support/vim/vim_%.bbappend (limited to '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 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 +} -- cgit 1.2.3-korg