# Editor
export EDITOR='vim'
alias m='mvim'

# Editor

platform='unknown'
unamestr=`uname`

if [[ "$unamestr" == 'Darwin' ]]; then
	export EDITOR='mvim'
else
	export EDITOR='vim'
fi

Set editor based on OS
Set editor based on OS
