Hacker News new | past | comments | ask | show | jobs | submit login
A vim plugin that lets you edit PNG and GIF icons (vim.org)
55 points by freejoe76 on April 2, 2012 | hide | past | favorite | 11 comments



I've used this. It only makes sense for very small images. You basically have to lower your font size down to unreadable levels in order to even see an image of any reasonable size, much less edit it.

I love vim and like to keep as much of my development environment inside it as possible, but it's a text editor.


Tim Pope is awesome.


Yes he is. We use to say at work for every vim user, that he should select and download at least half of tpope's plugins.


Yes. To save people a few clicks:

https://github.com/tpope/


He's got a cool sense of humor too. Here are a few recent gems from his @tpope twitter account: "My favorite part of the glaucoma puff test is how it always works the first time and they never end up blasting your eyeball over and over." "Some people think 300 words isn't much. Me, sometimes I have to pad out even my tweets. Lovely weather today, by the way."


This is perfect for small icon tweaks!

Monochrome icons worked pretty well in regular Vim, but otherwise make sure to open the images with GVim.


Does anyone know of a script capable of converting an image to XPM before diffing in version control?


It was easy:

.git/config:

    [diff "xpm"]
        textconv = bin/img2xpm.sh 
bin/img2xpm.sh:

    #!/bin/sh
    convert $1 xpm:-
.gitattributes:

    *.png diff=xpm


So much crazy awesome stuff from tpope! ..I'm not going to use this but props!


Very nice. I especially like that it supports plists.


This kind of frightens me.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: