From 8b315b4119e9bf499213dcb0bb22053536a091a4 Mon Sep 17 00:00:00 2001 From: yan Date: Thu, 15 Dec 2011 09:24:40 -0800 Subject: [PATCH] mvim from MacVim build 63 --- bin/mvim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/mvim b/bin/mvim index ecd801b..653cf78 100755 --- a/bin/mvim +++ b/bin/mvim @@ -39,12 +39,12 @@ gui= opts= # GUI mode, implies forking -case "$name" in m*|g*|rg*) gui=true ;; esac +case "$name" in m*|g*|rm*|rg*) gui=true ;; esac # Restricted mode case "$name" in r*) opts="$opts -Z";; esac -# vimdiff and view +# vimdiff, view, and ex mode case "$name" in *vimdiff) opts="$opts -dO" @@ -52,6 +52,9 @@ case "$name" in *view) opts="$opts -R" ;; + *ex) + opts="$opts -e" + ;; esac # Last step: fire up vim.