Nvim :help
pages, generated
from source
using the tree-sitter-vimdoc parser.
:digraphs
to get
the list. A convenient way to read the list of digraphs is to save them in a
file. From the shell:vim +'redir >/tmp/vim-digraphs-listing.txt' +digraphs +'redir END' +qSome of them are available with standard Vim digraphs:
*p π *t τ *X ×Numbers, subscripts and superscripts are available with 's' and 'S':
exec 'digraph \\ ' .. char2nr('∖') exec 'digraph \< ' .. char2nr('≼') exec 'digraph \> ' .. char2nr('≽') exec 'digraph (L ' .. char2nr('⊈') exec 'digraph )L ' .. char2nr('⊉') exec 'digraph (/ ' .. char2nr('⊄') exec 'digraph )/ ' .. char2nr('⊅') exec 'digraph )/ ' .. char2nr('⊅') exec 'digraph U+ ' .. char2nr('⊎') exec 'digraph 0- ' .. char2nr('⊖') " Euler's constant exec 'digraph ne ' .. char2nr('𝑒') " Raku's atomic operations marker exec 'digraph @@ ' .. char2nr('⚛')Alternatively, you can write Insert mode abbreviations that convert ASCII- based operators into their single-character Unicode equivalent.
iabbrev <buffer> !(<) ⊄ iabbrev <buffer> !(<=) ⊈ iabbrev <buffer> !(>) ⊅ iabbrev <buffer> !(>=) ⊉ iabbrev <buffer> !(cont) ∌ iabbrev <buffer> !(elem) ∉ iabbrev <buffer> != ≠ iabbrev <buffer> (&) ∩ iabbrev <buffer> (+) ⊎ iabbrev <buffer> (-) ∖ iabbrev <buffer> (.) ⊍ iabbrev <buffer> (<) ⊂ iabbrev <buffer> (<+) ≼ iabbrev <buffer> (<=) ⊆ iabbrev <buffer> (>) ⊃ iabbrev <buffer> (>+) ≽ iabbrev <buffer> (>=) ⊇ iabbrev <buffer> (\|) ∪ iabbrev <buffer> (^) ⊖ iabbrev <buffer> (atomic) ⚛ iabbrev <buffer> (cont) ∋ iabbrev <buffer> (elem) ∈ iabbrev <buffer> * × iabbrev <buffer> **0 ⁰ iabbrev <buffer> **1 ¹ iabbrev <buffer> **2 ² iabbrev <buffer> **3 ³ iabbrev <buffer> **4 ⁴ iabbrev <buffer> **5 ⁵ iabbrev <buffer> **6 ⁶ iabbrev <buffer> **7 ⁷ iabbrev <buffer> **8 ⁸ iabbrev <buffer> **9 ⁹ iabbrev <buffer> ... … iabbrev <buffer> / ÷ iabbrev <buffer> << « iabbrev <buffer> <<[=]<< «=« iabbrev <buffer> <<[=]>> «=» iabbrev <buffer> <= ≤ iabbrev <buffer> =~= ≅ iabbrev <buffer> >= ≥ iabbrev <buffer> >> » iabbrev <buffer> >>[=]<< »=« iabbrev <buffer> >>[=]>> »=» iabbrev <buffer> Inf ∞ iabbrev <buffer> atomic-add-fetch ⚛+= iabbrev <buffer> atomic-assign ⚛= iabbrev <buffer> atomic-fetch ⚛ iabbrev <buffer> atomic-dec-fetch --⚛ iabbrev <buffer> atomic-fetch-dec ⚛-- iabbrev <buffer> atomic-fetch-inc ⚛++ iabbrev <buffer> atomic-inc-fetch ++⚛ iabbrev <buffer> atomic-sub-fetch ⚛−= iabbrev <buffer> e 𝑒 iabbrev <buffer> o ∘ iabbrev <buffer> pi π iabbrev <buffer> set() ∅ iabbrev <buffer> tau τ