Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
afterimage.vim: edit binary files by converting them to text equivalents
branch: master

Merge pull request #3 from Grimy/bmp

Bitmap support
latest commit 1144731822
Tim Pope authored
Failed to load latest commit information.
doc Added support for .bmp files
plugin Added support for .bmp files
.gitignore Don’t track doc/tags
README.markdown Clarify copyright



Edit ICO, PNG, and GIF icons. No really. They're converted with ImageMagick to XPM, a plain text image format with beautiful syntax highlighting in GUI versions of Vim. Here, it's easier just to show you:

Beautiful syntax highlighting

And yes, I did say edit. Obviously you're not going to be uninstalling Photoshop anytime soon, but for stupid simple tweaks, it gets the job done.

Oh, and it can also handle PDFs (with pdftk), Word Documents (read-only, with Antiword), and Mac OS X plist files.


If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone git://

Once help tags have been generated, you can view the manual with :help afterimage.


See the contribution guidelines for pathogen.vim.


Like afterimage.vim? Follow the repository on GitHub and vote for it on And if you're feeling especially charitable, follow tpope on Twitter and GitHub.


Copyright (c) Tim Pope. Distributed under the same terms as Vim itself. See :help license.

Something went wrong with that request. Please try again.