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=
|
opts=
|
||||||
|
|
||||||
# GUI mode, implies forking
|
# 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
|
# Restricted mode
|
||||||
case "$name" in r*) opts="$opts -Z";; esac
|
case "$name" in r*) opts="$opts -Z";; esac
|
||||||
|
|
||||||
# vimdiff and view
|
# vimdiff, view, and ex mode
|
||||||
case "$name" in
|
case "$name" in
|
||||||
*vimdiff)
|
*vimdiff)
|
||||||
opts="$opts -dO"
|
opts="$opts -dO"
|
||||||
@ -52,6 +52,9 @@ case "$name" in
|
|||||||
*view)
|
*view)
|
||||||
opts="$opts -R"
|
opts="$opts -R"
|
||||||
;;
|
;;
|
||||||
|
*ex)
|
||||||
|
opts="$opts -e"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Last step: fire up vim.
|
# Last step: fire up vim.
|
||||||
|
Loading…
Reference in New Issue
Block a user