Skip to content

Instantly share code, notes, and snippets.

@glwagner
Created December 5, 2017 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glwagner/0507f6608da748de5234ec8cfbd205c5 to your computer and use it in GitHub Desktop.
Save glwagner/0507f6608da748de5234ec8cfbd205c5 to your computer and use it in GitHub Desktop.
Code for .vimrcs that defines digraphs for unicode alphabetic subscripts
" Define digraphs for alphabetic subscripts in .vimrc
execute "digraphs ks " . 0x2096
execute "digraphs as " . 0x2090
execute "digraphs es " . 0x2091
execute "digraphs hs " . 0x2095
execute "digraphs is " . 0x1D62
execute "digraphs ks " . 0x2096
execute "digraphs ls " . 0x2097
execute "digraphs ms " . 0x2098
execute "digraphs ns " . 0x2099
execute "digraphs os " . 0x2092
execute "digraphs ps " . 0x209A
execute "digraphs rs " . 0x1D63
execute "digraphs ss " . 0x209B
execute "digraphs ts " . 0x209C
execute "digraphs us " . 0x1D64
execute "digraphs vs " . 0x1D65
execute "digraphs xs " . 0x2093
execute "digraphs oo " . 0x2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment