Re:Emoji on the command line
by julien_c on Saturday July 25, 2015 @05:19AM
(#9947080)
Nice work. I think the git log example is contrived though, because you would probably include the real emoji characters in the actual commit title, right?
[ Parent
| on HN ]
Emoji is just Unicode, so putting "I :heart: you" instead of "I ❤️ you" in a Unicode text file is rather, shall we say, na:LATIN SMALL LETTER I WITH DIAERESIS:ve -- this shit belongs in the editor. As implemented by, for example and in no particular order: https://github.com/junegunn/vim-emoji,
https://github.com/kyuhi/vim-emoji-complete,
https://github.com/mattn/emoji-vim,
https://github.com/rhysd/github-complete.vim.
On the command line, the command line is the editor, so this program makes a lot of sense!
Re:Emoji on the command line
by hansrodtang on Saturday July 25, 2015 @05:45AM
(#9947119)
The syntax is common on GitHub: https://github.com/atom/atom/blob/master/CONTRIBUTING.md#git...
Re:Emoji on the command line
by johanbrook on Saturday July 25, 2015 @07:33AM
(#9947279)
You can, but I think regular Unicode emojis are more portable, since most systems and browsers support them these days. No need for :fallbacks:.