Hello! As far as I'm aware, there's really no easy way to prevent this.
AppImage at its core works on mounting an image at application start,
and unmounting it when the program exits. I might be wrong, though!
Having said that, it might certainly be possible to unpackage the
AppImage and extract the binaries, and create a native package that
works with your distro, or you could just run the binaries manually.
What text editor is it? There might even be a package available somewhere.
Hope that helps! :)