News for hackers. Stuff that matters.
Re:I don’t know how to count that low by sundarurfriend on Wednesday October 27, 2021 @04:46AM (#29010875)
You can also add your own digraphs. I've used this to make entering emojis easier, for eg.

    execute 'digraph :) 128578'
so that Ctrl-K :) in insert mode inserts . (`execute 'digraph :\| 128528'` => , `execute 'digraph /\ 128591' ` => , etc.) Edit: I guess HN strips emojis from comments? Just try these and find out which ones they are, I guess!

This was before I knew that the Julia plugin allows emoji entry too (\:<Tab>), but I still find this more convenient for the common ones because the names of emoji are all over the place.

There are no comments on this comment yet.