Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
julien_c
on July 25, 2015
|
parent
|
context
|
favorite
| on:
Emoji on the command line
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?
rdancer
on July 25, 2015
|
next
[–]
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!
hansrodtang
on July 25, 2015
|
prev
|
next
[–]
The syntax is common on GitHub:
https://github.com/atom/atom/blob/master/CONTRIBUTING.md#git...
johanbrook
on July 25, 2015
|
prev
[–]
You can, but I think regular Unicode emojis are more portable, since most systems and browsers support them these days. No need for :fallbacks:.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: