We all have an ADD-style brain these days! Named Ticks has an "Edit Text" box that allows you to set your stuff up in Excel (or vi, in your case) and bring over all the named ticks for one control in one PASTE.
On the other hand, going from a PDF of a device to a layout is rough because there is no standard for manuals. We've been helping users get from manual to layout since 2011, and there's usually a lot of human in between. Try moving forward with a layout and perhaps you'll appreciate the grace of MD. If not... Lemur is based on the idea of "scripting" and it's a different ball of wax entirely. While we don't know Lemur very well, it might be worth checking out as well.
There is tedious stuff in MD, for sure, but if you look at what our ADD/OCD users have created, you'll understand that it's workable. Perhaps it will be for you, too!