How to assign a keystroke to "Insert Tag" rather than "Surround with Tag"
Posted: Thu May 19, 2016 7:27 pm
We use the <xref> tag extensively in our docs to link to topics in the same guide. There is no text, only a linkend and endterm attribute pair that we have to fill out.
I use this (and other similar tags) so often that I'd very much like to assign a keystroke to a general "Insert Tag" function that displays the valid tags at that point and lets me select one (identically to how "Surround With Tags" works) but without requiring that text is already selected.
How can I do that? Why do I have to have text pre-selected in order to insert a tag from the keyboard? As it stands, I have to use the mouse in the Elements pane. What a pain!
Please help! Thank you!!!
I use this (and other similar tags) so often that I'd very much like to assign a keystroke to a general "Insert Tag" function that displays the valid tags at that point and lets me select one (identically to how "Surround With Tags" works) but without requiring that text is already selected.
How can I do that? Why do I have to have text pre-selected in order to insert a tag from the keyboard? As it stands, I have to use the mouse in the Elements pane. What a pain!
Please help! Thank you!!!