Hello,<br><br>On Tuesday, October 7, 2025, Don Marti <<a href="mailto:dmarti@zgp.org">dmarti@zgp.org</a>> wrote:<div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I'm editing an HTML or Markdown/CommonMark file, and I type a word character followed by a semicolon followed by another word character, what I want instead of the semicolon is an em dash (either the HTML — or the Unicode — I'm not picky.) Semicolons at the end of a line or followed by a space should be left unchanged.<br>
</blockquote><div><br></div><div>Have you tried something like this yet?</div></div><div>nnoremap <expr> <;> {I can't think of the condition right now}</div><div><br></div><div>Sorry, my mind is currently mush, but maybe will this will put you in the right direction.</div><div><br></div><div><br></div><div>Steve </div><div><br></div>