VSCodium on the desktop, and Markor on Android. I write everything in markdown, and VSCodium is already where I spend half my time editing and writing code, so it was an easy choice. I also use Vim for quick one-offs, especially if I'm already working on a project with it.
Like others here, I also use Syncthing to keep my notes synced between home server, remote clients, and mobile devices.