Searching for digraphs by name in vim

Alec Jacobson

January 05, 2014

weblog/

I love using vim's digraphs to insert unicode symbols into my text documents. I've memorized a lot of the more frequent ones that I type but I often end up looking up new ones or ones I've forgotten. I used to use:

:digraphs

to display a giant table of all of the digraphs. There sorted by unicode so they're in a roughly coherent order, but there's a lot to look at, and it's just the raw symbols.

Recently I found a much better way. By typing

:help digraphs

you can pull up the digraphs help page which contains a more thorough list of all digraphs including English unicode symbol names. For example I can hit /ditt to find the line:

〃      +"      3003    12291   DITTO MARK