What has caused the CTRL + x + e shortcut to stop working in the shell?

Solution 1:

The edit-and-execute-command function triggered with Ctrl-x-e uses a temporary file which gets opened in the defined editor. If you want to use/run your changed command(s) afterwards, you must answer YES if prompted to save the file. Otherwise your changes will be lost.