${EDITOR//gvim/vim} and ${EDITOR//mvim/vim} have been introduced to fix #416, however the replace all substitution is not POSIX and is not supported by termux or dash the proper fix for #416 is to set EDITOR to 'gvim -f' or 'mvim -f'