Used an Asus Zenbook 3 UX390UA-GS041T for a very long time for exactly that purpose. Ran Linux on it, loved the keyboard, didn't like the trackpad so much but since it was really only for writing (code) on-the-go it worked perfectly fine. Not sure if there's an updated version of that.