mvim from MacVim build 63
This commit is contained in:
parent
76a06c189a
commit
8b315b4119
7
bin/mvim
7
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.
|
||||
|
Loading…
Reference in New Issue
Block a user