Blame SOURCES/vim-default-editor.fish

da4393
# Ensure vim is set as EDITOR if it isn't already set
da4393
# This is set as a universal variable so that any other definition
da4393
# by the user would win
da4393
# Cf. https://fishshell.com/docs/current/index.html#variables-scope
da4393
da4393
if ! set -q EDITOR;
da4393
    set -x EDITOR /usr/bin/vim
da4393
end