tpope / vim-afterimage

afterimage.vim: edit binary files by converting them to text equivalents
http://www.vim.org/scripts/script.php?script_id=1617
165 stars 10 forks source link

creating new plist file does not work #1

Closed vindi-zz closed 13 years ago

vindi-zz commented 13 years ago

I tried creating a new plist file with vim and copying the XML from a website, but when saving the buffer nothing happens and I don't see any error messages. I'm guessing support is currently only available for editing existing files.

tpope commented 13 years ago

It is my understanding that both the XML and binary formats are equally acceptable on disk, so I think it would be a bit presumptuous to convert new files to binary automatically. Things should work fine if you convert the file manually.

stephencelis commented 13 years ago

What process should one go about when editing a new plist file in vim when afterimage is installed? It seems a bit strange that write functionality is unhelpfully broken by default.

tpope commented 13 years ago

Oh, I didn't realize write was broken entirely. Fixing. . . .