"cannot convert" when trying to save .vimrc after editing

36 views
Skip to first unread message

Eric Weir

unread,
Apr 16, 2023, 10:39:52 AM4/16/23
to vim_mac

After editing my .vimrc trying to make text more readable I got an error message—“E213: Cannot convert (add ! to write without conversion)"—when I tried to save the changes.


------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA
eew...@comcast.net

"(I)t is important that awake people be awake... the darkness around us is deep."

- William Stafford

Yee Cheng Chin

unread,
Apr 16, 2023, 2:23:13 PM4/16/23
to vim...@googlegroups.com
I saw in your other email that you have a setting to set fileencoding to "utf-10"? Why is that? Everything should really be utf-8, especially on the Mac, unless you have very specific reasons not to. The error you are seeing (type `:help E213` to find out more) is related to that.

--
--
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_mac/A34ABAEA-DA5D-4130-B3B0-EB471E5458A6%40comcast.net.
Reply all
Reply to author
Forward
0 new messages