1" Script to fill the window with emoji characters, one per line. 2" Source this script: :source % 3 4if &modified 5 new 6else 7 enew 8endif 9 10" Use a compiled Vim9 function for speed 11def DoIt() 12 var lnum = 1 13 for c in range(0x100, 0x1ffff) 14 var cs = nr2char(c) 15 if charclass(cs) == 3 16 setline(lnum, '|' .. cs .. '| ' .. strwidth(cs)) 17 lnum += 1 18 endif 19 endfor 20enddef 21 22call DoIt() 23set nomodified 24