Meditation through typing seems like an excellent idea.
I would also try it with pure key combinations, without meaning, similar to typing tutors. Errors show you when you stopped thinking and are focused, helping you better identify the start and end of your thoughts, which helps you to see them as just another thing. You can then do the same with feelings.
https://www.reddit.com/r/productivity/comments/i4a4od/typing_meditation_in_the_morning/