We are already fighting an uphill battle to keep Gnome2 style desktop by using Mate, and GTK3 invading the system and disobeying the global theme is extremely annoying and very unwelcome.
The first step is to remove
sudo dnf remove gedit -y
The second it to install
sudo dnf install pluma -y
But if we still want to continue using
gedit on the command line, as we used to, and do not want to learn another command, we can download the last GTK2 version of gedit, open it with any suitable archive manager (I use
mc), then open
CONTENTS.cpio and copy
usr to the root folder.
That automatically adds the main menu entry for
gedit in Mate as well.