Blame SOURCES/vim-default-editor.fish

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