Vim flatpak does not have full filesystem access

This commit is contained in:
Anthony Rose 2022-07-18 11:18:56 +01:00
parent 607e2b2d40
commit 2a5a52fc48

View file

@ -77,11 +77,7 @@ then
fi fi
# Set up Vi/Vim. # Set up Vi/Vim.
if command -v org.vim.Vim > /dev/null if command -v vim > /dev/null
then
export EDITOR="org.vim.Vim -f"
alias vi=org.vim.Vim
elif command -v vim > /dev/null
then then
export EDITOR="vim -f" export EDITOR="vim -f"
alias vi=vim alias vi=vim