You can create expanding macros like this: <br /> <br /> '- - > space': function() { <br /> expand('--> ', '→ '); <br /> } <br /> <br /> <a target="_blank" href="http://craig.is/killing/mice">More info</a> <br /> <br /> <b class="text-danger"><i class="icon-attention"></i> Careful! This is subject to malicious code. Don't copy/paste untrusted content.</b>