summaryrefslogtreecommitdiffstats
path: root/gvim
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2024-02-14 12:17:07 +0100
committerFlorian Pritz <bluewind@xinu.at>2024-07-02 12:59:23 +0200
commit8fddd2b490b2caff502571fb7c4159b97fd5705e (patch)
treef6383631fe77d3c50f580f2869d3047f28a3bf8e /gvim
parent492b47bbd55527ad8d9ff403b17b02a1e37c5c53 (diff)
downloadbin-8fddd2b490b2caff502571fb7c4159b97fd5705e.tar.gz
bin-8fddd2b490b2caff502571fb7c4159b97fd5705e.tar.xz
add gvim wrapper to use terminal instead of gui
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'gvim')
-rwxr-xr-xgvim9
1 files changed, 9 insertions, 0 deletions
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 "$@"