
if [ (uname -s) = 'Darwin' -a -f '/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl' ]
    set --global --export EDITOR 'subl -w'
else
    set --global --export EDITOR vim
end


if [ (uname -s) = 'Darwin' -a -f '/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl' ]
    set --global --export EDITOR 'subl --wait'
else
    set --global --export EDITOR vim
end

Use full parameter name for clarity
Use full parameter name for clarity

lee-dohm/environment,lee-dohm/environment,lee-dohm/environment