Set Vim as the default text editor for Mutt
Copying the below configuration in your muttrc file should work.
# Messsage composition
set editor = "vim"
The path to your muttrc file should be something like:
/home/<user>/.config/mutt/muttrc
vim mutt personal computing command-line interface (cli) office applications wiki