Tips to work over SSH

I haven’t personally used it myself, but I have heard a lot of good things about sshfs. It essentially allows for mounting a remote filesystem. That should allow you to use kitty with your local kakoune config. Apart from that, I don’t know how to help, but I would second harrts’ suggestion with mosh - it’s a lifesaver on unstable networks.