https://www.guckes.net/vim/digraphs.apple_keyboard.vim
i hope this helps people documenting something neat :)

Sven

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20201109233549.33wdjqgsr7gg7jla%40guckes.net.
" key symbols on Apple keyboards
" adapted to vim as both digraph commands
" and insert abbreviations of HTML entities
" by Sven Guckes 2020-11-09 (2999bytes)
" source: 
https://apple.stackexchange.com/questions/55727/where-can-i-find-the-unicode-symbols-for-mac-functional-keys-command-shift-e
" enter digraphs in insert mode with the CTRL-K command
" followed by the two combining letters: CTRL-K C l -> ⌧
" or enter the two letter combination to get the HTML entity.
" -----------------------------------------------
" xy - the digrap, ie two characters
" X  - the resulting glyph
" Y  - the overshadowed glyph
" -----------------------------------------------
" dig xy      " X  Y  NAME
" dig Ap 63743"   p  Apple
  dig Cl 8984 " ⌘  l  Command, Cmd, Clover, (formerly) Apple
  dig Co 8963 " ⌃  ©  Control, Ctl, Ctrl
  dig Al 8997 " ⌥  l  Option, Opt, (Windows) Alt
  dig Sh 8679 " ⇧  ש  Shift
  dig CL 8682 " ⇪  L  Caps lock
  dig Ej 9167 " ⏏  j  Eject
  dig CR 8617 " ↩  /  Return, Carriage Return
  dig Cr 8629 " ↵  r  Return, Carriage Return ↵
  dig cr 9166 " ⏎  ⅻ  Return, Carriage Return
  dig En 8996 " ⌤  n  Enter
  dig De 9003 " ⌫  デ Delete, Backspace
  dig Df 8998 " ⌦  f  Forward Delete
  dig Es 9099 " ⎋  s  Escape, Esc
  dig Ar 8594 " →  r  Right arrow  →
  dig Al 8592 " ←  l  Left  arrow  ←
  dig Au 8593 " ↑  u  Up    arrow  ↑
  dig Ad 8595 " ↓  d  Down  arrow  ↓
  dig Pu 8670 " ⇞  プ Page Up, PgUp
  dig Pd 8671 " ⇟  £  Page Down, PgDn
  dig Ho 8598 " ↖  ホ Home
  dig En 8600 " ↘  n  End
  dig Cl 8999 " ⌧  l  Clear
  dig Tr 8677 " ⇥  ▷  Tab, Tab Right, Horizontal Tab
  dig Tl 8676 " ⇤  ◁  Shift Tab, Tab Left, Back-tab
  dig Sp 9250 " ␢  p  Space, Blank
  dig Bl 9251 " ␣  ▌  Space, Blank
" --------------------------------------------------
" iab xy HTML_Ent  X  NAME
  iab Ap |"  Apple
  iab Cl ⌘|" ⌘  Command, Cmd, Clover, (formerly) Apple
  iab Co ⌃|" ⌃  Control, Ctl, Ctrl
  iab Al ⌥|" ⌥  Option, Opt, (Windows) Alt
  iab Sh ⇧|" ⇧  Shift
  iab CL ⇪|" ⇪  Caps lock
  iab Ej ⏏|" ⏏  Eject
  iab CR ↩|" ↩  Return, Carriage Return
  iab Cr ↵|" ↵  Return, Carriage Return ↵
  iab cr ⏎|" ⏎  Return, Carriage Return
  iab En ⌤|" ⌤  Enter
  iab De ⌫|" ⌫  Delete, Backspace
  iab Df ⌦|" ⌦  Forward Delete
  iab Es ⎋|" ⎋  Escape, Esc
  iab Ar →|" →  Right  arrow →
  iab Al ←|" ←  Left   arrow ←
  iab Au ↑|" ↑  Up     arrow ↑
  iab Ad ↓|" ↓  Down   arrow ↓
  iab Pu ⇞|" ⇞  Page Up, PgUp
  iab Pd ⇟|" ⇟  Page Down, PgDn
  iab Ho ↖|" ↖  Home
  iab En ↘|" ↘  End
  iab Cl ⌧|" ⌧  Clear
  iab Tr ⇥|" ⇥  Tab, Tab Right, Horizontal Tab
  iab Tl ⇤|" ⇤  Shift Tab, Tab Left, Back-tab
  iab Sp ␢|" ␢  Space, Blank
  iab Bl ␣|" ␣  Space, Blank
"EOF

Raspunde prin e-mail lui