Hacker News new | ask | show | jobs
by fwip 928 days ago
There's a cute plugin[0] for Vim which converts any image to XPM, which is a similar format that Vim has syntax-coloring for. You can edit the text, and then on save, it will get converted back to the original format. I've used it a few times to quickly preview an image or edit a favicon. It's more of party trick than seriously useful, though.

[0]https://github.com/tpope/vim-afterimage