Saturday, May 2, 2015

Vim renders garbled text with certain files, while other text editors have no problem.

I opened the attached file "com.apple.TextEdit.plist" using MacVim's factory settings: <mvim -u NONE -U NONE -N --cmd ':filetype plugin on' com.apple.TextEdit.plist>.

MacVim rendered a bunch of garbled text (see vim.tiff). I tried the same process with Vim and Vi and the rendered text was garbled in the same fashion.

However, when I opened the file with BBEdit, it was fine (see bbedit.tiff).

Does anyone know why the text in the plist file is garbled when opened with Vi/Vim/MacVim; but renders perfectly with other text editors?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: