I use Bluebuild to create a reproducible system, plus a post-install script to handle other post-install tasks such as setting up initial preferences.
Also Vorta to backup files and settings to external HD, plus OneDrive Linux client to sync files and settings to cloud.
You have the Kate Formatting Plugin activated. Either disable the plugin, or disable formatting on save for your file type: https://kate-editor.org/post/2024/2024-05-13-kate-formatting-plugin/
EDIT: You can also disable it through the edit menu.