I tried changing the EDITOR variable in my .zshrc file like this
export $EDITOR= $(which nvim)
and
export $EDITOR= "nvim"
but when I source it, I get the error:
'not valid in this context: /data/data/com.termux/files/usr/bin/nvim'.
I've tried printenv EDITOR but nothing show.
I don't understand what's happening. I think my $EDITOR variable is currently set to 'vim'. How can I change it to nvim?
i got this:
but i wish:
I tried changing the EDITOR variable in my .zshrc file like this
export $EDITOR= $(which nvim)
andexport $EDITOR= "nvim"
but when I source it, I get the error: 'not valid in this context: /data/data/com.termux/files/usr/bin/nvim'.
I've tried printenv EDITOR but nothing show. I don't understand what's happening. I think my $EDITOR variable is currently set to 'vim'. How can I change it to nvim?