mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Updated vim to alias mvim -v
This commit is contained in:
parent
cd3e41ac4b
commit
52498671f4
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# try to replace OSX's default vim by MacVim's version
|
||||
RECENTVIM=`test -e /usr/local/Cellar/macvim && find /usr/local/Cellar/macvim -name Vim`
|
||||
MACVIM="/usr/local/bin/mvim"
|
||||
|
||||
# if mode indicator wasn't setup by theme, define default
|
||||
if [[ "$OSTYPE" == darwin* && -e $RECENTVIM ]]; then
|
||||
alias vim="$RECENTVIM"
|
||||
if [[ "$OSTYPE" == darwin* && -e $MACVIM ]]; then
|
||||
alias vim="$MACVIM -v"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue