I want to define a shortcut to enter XML tag pairs. Pressing key combination
key2 which should prompt for entering a tag name, .e.g. "foo", and automatically insert "
<foo></foo>". How to do that?
Ideally I'd like the cursor to be automatically moved to be after the first