[conspire] Automatically doing em dashes in Vim?
Steve M Bibayoff
bibayoff at gmail.com
Tue Oct 7 21:00:26 PDT 2025
Hello,
On Tuesday, October 7, 2025, Don Marti <dmarti at zgp.org> wrote:
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.
>
Have you tried something like this yet?
nnoremap <expr> <;> {I can't think of the condition right now}
Sorry, my mind is currently mush, but maybe will this will put you in the
right direction.
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/conspire/attachments/20251007/c72035a3/attachment.html>
More information about the conspire
mailing list