I digitize a book in FB2 format, I constantly have to select text with <emphasis> and <code> tags. It has long been made xml fragment to add the above tags.

How to assign a key combination to a fragment?

I want to get to speed up the work: select text-> combination -> tags to the left of the text have been added.


Added 11/13/2012 9:12 PM

The correct English name for the xml fragments is "snippets", so it’s interesting how to hang a key combination on a snippet

    1 answer 1

    at least in VS2012, snippets cannot be used for hanging shortcuts, implemented everything through macros and regulars ...