summaryrefslogtreecommitdiffstats
path: root/external/meta-openembedded/meta-xfce/recipes-support
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/meta-openembedded/meta-xfce/recipes-support
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'external/meta-openembedded/meta-xfce/recipes-support')
-rw-r--r--external/meta-openembedded/meta-xfce/recipes-support/vim/vim_%.bbappend1
-rw-r--r--external/meta-openembedded/meta-xfce/recipes-support/vim/vim_xfce.inc6
2 files changed, 7 insertions, 0 deletions
diff --git a/external/meta-openembedded/meta-xfce/recipes-support/vim/vim_%.bbappend b/external/meta-openembedded/meta-xfce/recipes-support/vim/vim_%.bbappend
new file mode 100644
index 00000000..7b449630
--- /dev/null
+++ b/external/meta-openembedded/meta-xfce/recipes-support/vim/vim_%.bbappend
@@ -0,0 +1 @@
+require ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${BPN}_xfce.inc', '', d)}
diff --git a/external/meta-openembedded/meta-xfce/recipes-support/vim/vim_xfce.inc b/external/meta-openembedded/meta-xfce/recipes-support/vim/vim_xfce.inc
new file mode 100644
index 00000000..25403e6c
--- /dev/null
+++ b/external/meta-openembedded/meta-xfce/recipes-support/vim/vim_xfce.inc
@@ -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
+}