From 8fddd2b490b2caff502571fb7c4159b97fd5705e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 14 Feb 2024 12:17:07 +0100 Subject: add gvim wrapper to use terminal instead of gui Signed-off-by: Florian Pritz --- gvim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 gvim diff --git a/gvim b/gvim new file mode 100755 index 0000000..5744966 --- /dev/null +++ b/gvim @@ -0,0 +1,9 @@ +#!/bin/bash + +# Compact layer for firefox because for some files I cannot select to open with +# a different application. +if [[ $1 = '-f' ]]; then + shift +fi + +exec gvim-term "$@" -- cgit v1.2.3-24-g4f1b