# Editing

if [[ ! "$SSH_TTY" ]] && is_osx; then
  export EDITOR='mvim -v'
  export LESSEDIT='mvim -v ?lm+%ln -- %f'
else
  export EDITOR='vim'
fi

export VISUAL="$EDITOR"
alias q="$EDITOR"
alias qv="q $DOTFILES/link/.{,g}vimrc + 'cd $DOTFILES'"
alias qs="q $DOTFILES"

# Editing

if [[ ! "$SSH_TTY" ]] && is_osx; then
  export EDITOR='mvim -v'
  export LESSEDIT='mvim -v ?lm+%ln -- %f'
  alias vi='mvim -v'
  alias vim='mvim -v'
else
  export EDITOR='vim'
fi

export VISUAL="$EDITOR"
alias q="$EDITOR"
alias qv="q $DOTFILES/link/.{,g}vimrc + 'cd $DOTFILES'"
alias qs="q $DOTFILES"

Make mac vim aliases like my old ones
Make mac vim aliases like my old ones
