Skip to content

Commit

Permalink
--tab-silent already does what the complex rule did; remove that
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Apr 15, 2011
1 parent efdc806 commit b4f5a21
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions profile_machine/darwin
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# my exports
#

export PATH=/opt/local/sbin:/opt/local/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin:/opt/local/Library/Frameworks/Python.framework/Versions/3.1/bin:$PATH
export PATH=/opt/local/sbin:/opt/local/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin:/opt/local/Library/Frameworks/Python.framework/Versions/3.1/bin:/opt/local/lib/mysql5/bin:$PATH
export EDITOR="/opt/local/bin/mvim -f"
export VIM_APP_DIR=/Applications/MacPorts/
export QTDIR=/opt/local/lib/qt3
Expand Down Expand Up @@ -41,8 +41,7 @@ function vim {
FILE_SPECIFIED=1
fi
done
if [[ $FILE_SPECIFIED -eq 1 ]] &&
[[ ! -z `ps axu | grep "[M]acVim" | grep XO` ]]; then
if [[ $FILE_SPECIFIED -eq 1 ]]; then
mvim -XO1 --remote-tab-silent $@
else
mvim -XO1 $@
Expand Down

0 comments on commit b4f5a21

Please sign in to comment.